Interface SerializerAware


  • public interface SerializerAware
    The SerializerAware interface provides the ability to configure a Serializer to be used by the implementing object when serializing or deserializing objects.
    Since:
    Coherence 3.4
    Author:
    jh 2008.03.25
    • Method Detail

      • getContextSerializer

        Serializer getContextSerializer()
        Retrieve the context Serializer for this object. The context Serializer is provided by the creator of the object for use by the object when serializing or deserializing objects.
        Returns:
        the context Serializer for this object
      • setContextSerializer

        void setContextSerializer​(Serializer serializer)
        Specify the context Serializer for this object. The context Serializer can be set when the object is created, and allows the creator to provide the appropriate Serializer to be used by the object when serializing or deserializing objects.
        Parameters:
        serializer - the context Serializer for this object