|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.io.ConfigurableSerializerFactory
public class ConfigurableSerializerFactory
A SerializerFactory 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?)>
| Constructor Summary | |
|---|---|
ConfigurableSerializerFactory() |
|
| Method Summary | |
|---|---|
Serializer |
createSerializer(java.lang.ClassLoader loader)Create a new Serializer. |
XmlElement |
getConfig()Determine the current configuration of the object. |
void |
setConfig(XmlElement xml)Specify the configuration for the object. |
java.lang.String |
toString() |
| Constructor Detail |
|---|
public ConfigurableSerializerFactory()
| Method Detail |
|---|
public Serializer createSerializer(java.lang.ClassLoader loader)
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.
createSerializer in interface SerializerFactoryloader - the optional ClassLoader with which to configure the new Serializer.public void setConfig(XmlElement xml)
setConfig in interface XmlConfigurablexml - the XML configuration for the objectpublic XmlElement getConfig()
getConfig in interface XmlConfigurablepublic java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||