Class JavaSerializer
- java.lang.Object
-
- org.eclipse.persistence.sessions.serializers.AbstractSerializer
-
- org.eclipse.persistence.sessions.serializers.JavaSerializer
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,Serializer
public class JavaSerializer extends AbstractSerializer
Plain old Java serialization.- See Also:
- Serialized Form
- Author:
- James Sutherland
-
-
Field Summary
Fields Modifier and Type Field Description static JavaSerializer
instance
-
Constructor Summary
Constructors Constructor Description JavaSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
deserialize(java.lang.Object bytes, Session session)
java.lang.Class
getType()
java.lang.Object
serialize(java.lang.Object object, Session session)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.persistence.sessions.serializers.AbstractSerializer
initialize
-
-
-
-
Field Detail
-
instance
public static final JavaSerializer instance
-
-
Method Detail
-
serialize
public java.lang.Object serialize(java.lang.Object object, Session session)
-
getType
public java.lang.Class getType()
- Specified by:
getType
in interfaceSerializer
- Overrides:
getType
in classAbstractSerializer
-
deserialize
public java.lang.Object deserialize(java.lang.Object bytes, Session session)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractSerializer
-
-