public class ContextSerializerFactory
extends java.lang.Object
Constructor and Description |
---|
ContextSerializerFactory(ContextSerializerFactory parent,
java.lang.ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
static ContextSerializerFactory |
create() |
static ContextSerializerFactory |
create(java.lang.ClassLoader loader) |
java.lang.ClassLoader |
getClassLoader() |
Deserializer |
getCustomDeserializer(java.lang.Class cl)
Returns a custom deserializer the class
|
Serializer |
getCustomSerializer(java.lang.Class cl)
Returns a custom serializer the class
|
Deserializer |
getDeserializer(java.lang.String className)
Returns the deserializer for a given class.
|
Serializer |
getSerializer(java.lang.String className)
Returns the serializer for a given class.
|
public ContextSerializerFactory(ContextSerializerFactory parent, java.lang.ClassLoader loader)
public static ContextSerializerFactory create()
public static ContextSerializerFactory create(java.lang.ClassLoader loader)
public java.lang.ClassLoader getClassLoader()
public Serializer getSerializer(java.lang.String className)
public Serializer getCustomSerializer(java.lang.Class cl)
cl
- the class of the object that needs to be serialized.public Deserializer getDeserializer(java.lang.String className)
public Deserializer getCustomDeserializer(java.lang.Class cl)
cl
- the class of the object that needs to be deserialized.