Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.