Click or drag to resize
ReflectionBasedAutoSerializer Class
Inheritance Hierarchy
SystemObject
  GemStone.GemFire.Cache.GenericReflectionBasedAutoSerializer

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public class ReflectionBasedAutoSerializer : IPdxSerializer

The ReflectionBasedAutoSerializer type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCreateObject
Overirde this method to create default instance of
className
Otherwise it will create instance using zer arg public constructor
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromData
Public methodGetFieldName
Public methodGetFieldType
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsFieldIncluded
Controls what fields of a class will be auto serialized by this serializer. Override this method to customize what fields of a class will be auto serialized. The default implementation:
  • excludes NonSerialized fields
  • excludes static fields
  • excludes literal fields
  • excludes readonly fields
All other fields are included. This method is only called the first time it sees a new class. The result will be remembered and used the next time the same class is seen.
Public methodIsIdentityField
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadTransform
Controls what field value is read during auto deserialization. Override this method to customize the data that will be read during auto deserialization. This method will only be called if {@link #transformFieldValue} returned true.
Public methodToData
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteTransform
Controls what field value is written during auto serialization. Override this method to customize the data that will be written during auto serialization.
Top
See Also