Class AbstractSerializerFactory

    • Constructor Detail

      • AbstractSerializerFactory

        public AbstractSerializerFactory()
    • Method Detail

      • getSerializer

        public abstract Serializer getSerializer​(java.lang.Class cl)
                                          throws HessianProtocolException
        Returns the serializer for a class.
        Parameters:
        cl - the class of the object that needs to be serialized.
        Returns:
        a serializer object for the serialization.
        Throws:
        HessianProtocolException
      • getDeserializer

        public abstract Deserializer getDeserializer​(java.lang.Class cl)
                                              throws HessianProtocolException
        Returns the deserializer for a class.
        Parameters:
        cl - the class of the object that needs to be deserialized.
        Returns:
        a deserializer object for the serialization.
        Throws:
        HessianProtocolException