public class WrapperSerializer
extends ClassLoaderAwareImpl
implements com.tangosol.io.Serializer
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.
Constructor and Description |
---|
WrapperSerializer() |
WrapperSerializer(java.lang.ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
deserialize(java.lang.ClassLoader loader, SerializableWrapper received) |
static java.lang.Object |
deserialize(java.lang.Object target, java.lang.Object received) |
java.lang.Object |
deserialize(com.tangosol.io.ReadBuffer.BufferInput in) |
java.lang.Object |
deserialize(SerializableWrapper received) |
static WrapperSerializer |
ensureSerializer(java.lang.ClassLoader loader) |
boolean |
isNotEclipseLink() |
static java.lang.Object |
serialize(java.lang.Object object) |
void |
serialize(com.tangosol.io.WriteBuffer.BufferOutput out, java.lang.Object o) |
void |
setNotEclipseLink(boolean isNotEclipseLink) |
public WrapperSerializer()
public WrapperSerializer(java.lang.ClassLoader loader)
public boolean isNotEclipseLink()
public void setNotEclipseLink(boolean isNotEclipseLink)
isNotEclipseLink
- the isNotEclipseLink to setpublic void serialize(com.tangosol.io.WriteBuffer.BufferOutput out, java.lang.Object o) throws java.io.IOException
serialize
in interface com.tangosol.io.Serializer
java.io.IOException
public java.lang.Object deserialize(com.tangosol.io.ReadBuffer.BufferInput in) throws java.io.IOException
deserialize
in interface com.tangosol.io.Serializer
java.io.IOException
public static java.lang.Object deserialize(java.lang.Object target, java.lang.Object received) throws java.io.IOException
java.io.IOException
public static java.lang.Object deserialize(java.lang.ClassLoader loader, SerializableWrapper received) throws java.io.IOException
java.io.IOException
public java.lang.Object deserialize(SerializableWrapper received) throws java.io.IOException
deserialize
in interface com.tangosol.io.Serializer
java.io.IOException
public static java.lang.Object serialize(java.lang.Object object)
public static WrapperSerializer ensureSerializer(java.lang.ClassLoader loader)