Package com.tangosol.io
Class ConfigurableSerializerFactory
- java.lang.Object
-
- com.tangosol.io.ConfigurableSerializerFactory
-
- All Implemented Interfaces:
SerializerFactory
,XmlConfigurable
@Deprecated public class ConfigurableSerializerFactory extends Object implements SerializerFactory, XmlConfigurable
Deprecated.ASerializerFactory
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?)>
This class has now been deprecated and replaced with a
ParameterizedBuilder
that produces aSerializerFactory
.- Since:
- Coherence 3.7
- Author:
- lh/jh 2010.11.30
- See Also:
SerializerFactoryProcessor
-
-
Constructor Summary
Constructors Constructor Description ConfigurableSerializerFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Serializer
createSerializer(ClassLoader loader)
Deprecated.Create a new Serializer.XmlElement
getConfig()
Deprecated.Determine the current configuration of the object.String
getName()
Deprecated.Return the name of this serializer factory.void
setConfig(XmlElement xml)
Deprecated.Specify the configuration for the object.String
toString()
Deprecated.
-
-
-
Method Detail
-
createSerializer
public Serializer createSerializer(ClassLoader loader)
Deprecated.Create a new Serializer.If the new Serializer is an instance of
ClassLoaderAware
and the specified ClassLoader is non-null, the new Serializer will be configured with the ClassLoader before it is returned to the caller.- Specified by:
createSerializer
in interfaceSerializerFactory
- Parameters:
loader
- the optional ClassLoader with which to configure the new Serializer.- Returns:
- the new Serializer
-
getName
public String getName()
Deprecated.Description copied from interface:SerializerFactory
Return the name of this serializer factory.- Specified by:
getName
in interfaceSerializerFactory
- Returns:
- the name of this serializer serializer factory
-
setConfig
public void setConfig(XmlElement xml)
Deprecated.Specify the configuration for the object.- Specified by:
setConfig
in interfaceXmlConfigurable
- Parameters:
xml
- the XML configuration for the object
-
getConfig
public XmlElement getConfig()
Deprecated.Determine the current configuration of the object.- Specified by:
getConfig
in interfaceXmlConfigurable
- Returns:
- the XML configuration or null
-
-