Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
A PofAnnotationSerializer provides annotation based de/serialization.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public class PofAnnotationSerializer : IPofSerializer

Remarks

This serializer must be instantiated with the intended class which is eventually scanned for the presence of the following annotations. This serializer supports classes iff they are annotated with the type level annotation; Portable. This annotation is a marker annotation with no children.

All fields annotated with PortableProperty are explicitly deemed POF serializable with the option of specifying overrides to provide explicit behaviour such as:

  • Explicit POF indexes
  • Custom ICodec to specify concrete implementations / customizations

The Index (POF index) can be omitted iff the auto-indexing feature is enabled. This is enabled by instantiating this class with the autoIndex constructor argument. This feature determines the index based on any explicit indexes specified and the name of the portable properties. Currently objects with multiple versions is not supported. The following illustrates the auto index algorithm:
NameExplicit IndexDetermined Index
c11
a0
b2
NOTE: This implementation does support objects that implement Evolvable

Inheritance Hierarchy

System..::..Object
  Tangosol.IO.Pof..::..PofAnnotationSerializer

See Also