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 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)