Class ConfigurableSerializerFactory
A ISerializerFactory implementation that creates instances of a Serializer class configured using an XmlElement of the following structure:
<!ELEMENT instance ((class-name | (class-factory-name, method-name), init-params?)> <!ELEMENT init-params (init-param*)> <!ELEMENT init-param ((param-name | param-type), param-value, description?)>
Inherited Members
Namespace: Tangosol.IO
Assembly: Coherence.dll
Syntax
public class ConfigurableSerializerFactory : ISerializerFactory, IXmlConfigurable
Properties
Config
IXmlElement holding configuration information.
Declaration
public virtual IXmlElement Config { get; set; }
Property Value
Type | Description |
---|---|
IXmlElement | IXmlElement holding configuration information. |
Remarks
Note that the configuration will not be available unless the ConfigurablePofContext was constructed with the configuration, the configuration was specified using the IXmlConfigurable interface, or the ConfigurablePofContext has fully initialized itself
Also, note that the configuration cannot be set after the ConfigurablePofContext is fully initialized.
SerializerType
Serializer type.
Declaration
public Type SerializerType { get; set; }
Property Value
Type | Description |
---|---|
Type | Serializer type. |
Methods
CreateSerializer()
Create a new ISerializer.
Declaration
public ISerializer CreateSerializer()
Returns
Type | Description |
---|---|
ISerializer | The new ISerializer. |
ToString()
Provide a human-readable representation of this object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string whose contents represent the value of this object. |