Interface Serializer
-
- All Superinterfaces:
java.lang.Cloneable
,java.io.Serializable
- All Known Implementing Classes:
AbstractSerializer
,JavaSerializer
,JSONSerializer
,XMLSerializer
public interface Serializer extends java.io.Serializable, java.lang.Cloneable
Generic serializer interface. Allows for a plugable serializer for Remote, Cache Coordination, Converters.- Author:
- James Sutherland
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
deserialize(java.lang.Object bytes, Session session)
java.lang.Class
getType()
void
initialize(java.lang.Class serializeClass, java.lang.String serializePackage, Session session)
java.lang.Object
serialize(java.lang.Object object, Session session)
-
-
-
Method Detail
-
serialize
java.lang.Object serialize(java.lang.Object object, Session session)
-
deserialize
java.lang.Object deserialize(java.lang.Object bytes, Session session)
-
getType
java.lang.Class getType()
-
initialize
void initialize(java.lang.Class serializeClass, java.lang.String serializePackage, Session session)
-
-