Skip navigation links
oracle.eclipselink.coherence.integrated.cache
Class WrapperPofSerializer
java.lang.Object
oracle.eclipselink.coherence.integrated.cache.WrapperPofSerializer
- All Implemented Interfaces:
- com.tangosol.io.ClassLoaderAware, com.tangosol.io.pof.PofSerializer
-
public class WrapperPofSerializer
- extends java.lang.Object
- implements com.tangosol.io.pof.PofSerializer, com.tangosol.io.ClassLoaderAware
Purpose: This class is used to provide serialization support for the Entity Wrappers within Coherence when wish to access the Coherence Caches directly. This includes users who have custom Value Extractors. Users who have custom POF serializers will need to create the pof configuration xml for their types. And set the serializer to be the WrapperPofSerializer instead.
- Since:
- TopLink 11g (11.1.1.1.0)
- Author:
- gyorke
Field Summary |
protected java.util.Map<java.lang.String,java.lang.Class> |
classes
|
protected boolean |
isNotEclipseLink
|
protected java.lang.ref.WeakReference<java.lang.ClassLoader> |
loaderReference
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loaderReference
protected java.lang.ref.WeakReference<java.lang.ClassLoader> loaderReference
classes
protected java.util.Map<java.lang.String,java.lang.Class> classes
isNotEclipseLink
protected boolean isNotEclipseLink
WrapperPofSerializer
public WrapperPofSerializer()
WrapperPofSerializer
public WrapperPofSerializer(java.lang.ClassLoader loader)
deserialize
public java.lang.Object deserialize(com.tangosol.io.pof.PofReader pofreader)
throws java.io.IOException
-
- Specified by:
deserialize
in interface com.tangosol.io.pof.PofSerializer
-
- Throws:
java.io.IOException
serialize
public void serialize(com.tangosol.io.pof.PofWriter pofwriter,
java.lang.Object obj)
throws java.io.IOException
-
- Specified by:
serialize
in interface com.tangosol.io.pof.PofSerializer
-
- Throws:
java.io.IOException
getContextClassLoader
public java.lang.ClassLoader getContextClassLoader()
-
- Specified by:
getContextClassLoader
in interface com.tangosol.io.ClassLoaderAware
setContextClassLoader
public void setContextClassLoader(java.lang.ClassLoader loader)
-
- Specified by:
setContextClassLoader
in interface com.tangosol.io.ClassLoaderAware
isNotEclipseLink
public boolean isNotEclipseLink()
-
- Returns:
- the isNotEclipseLink
setNotEclipseLink
public void setNotEclipseLink(boolean isNotEclipseLink)
-
- Parameters:
isNotEclipseLink
- the isNotEclipseLink to set
Skip navigation links