Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


com.tangosol.io
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 Summary
 Serializer getContextSerializer()
          Retrieve the context Serializer for this object.
 void setContextSerializer(Serializer serializer)
          Specify the context Serializer for this object.

 

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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.