Skip navigation links

Overview | Package | Class | Tree | Index | Help
| Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-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

Skip navigation links

Overview | Package | Class | Tree | Index | Help
| Oracle® Coherence Java API Reference Release 3.6.1.0 E18814-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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