public abstract class AbstractPdxSerializableSessionSerializer<T extends org.springframework.session.Session> extends java.lang.Object implements org.apache.geode.pdx.PdxSerializer, SessionSerializer<T,org.apache.geode.pdx.PdxReader,org.apache.geode.pdx.PdxWriter>
AbstractPdxSerializableSessionSerializer class is an abstract base class containing functionality common
to all GemFire/Geode PDX-based SessionSerializer implementations.
This class also implements GemFire/Geode's PdxSerializer interface, adapting it to the Spring Session,
Data Pivotal GemFire SessionSerializer interface.PdxReader,
PdxWriter,
PdxSerializer,
Session,
SessionSerializer| Constructor and Description |
|---|
AbstractPdxSerializableSessionSerializer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSerialize(java.lang.Class<?> type)
Determines whether the given
type can be de/serialized by this SessionSerializer. |
java.lang.Object |
fromData(java.lang.Class<?> type,
org.apache.geode.pdx.PdxReader reader) |
boolean |
toData(java.lang.Object session,
org.apache.geode.pdx.PdxWriter writer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanSerialize, deserialize, serializepublic AbstractPdxSerializableSessionSerializer()
public boolean toData(java.lang.Object session,
org.apache.geode.pdx.PdxWriter writer)
toData in interface org.apache.geode.pdx.PdxSerializerpublic java.lang.Object fromData(java.lang.Class<?> type,
org.apache.geode.pdx.PdxReader reader)
fromData in interface org.apache.geode.pdx.PdxSerializerpublic boolean canSerialize(java.lang.Class<?> type)
SessionSerializertype can be de/serialized by this SessionSerializer.canSerialize in interface SessionSerializer<T extends org.springframework.session.Session,org.apache.geode.pdx.PdxReader,org.apache.geode.pdx.PdxWriter>type - Class to evaluate for whether de/serialization is supported.type can be de/serialized
by this SessionSerializer.SessionSerializer.canSerialize(Object)