Package com.caucho.hessian.io
Class ContextSerializerFactory
java.lang.Object
com.caucho.hessian.io.ContextSerializerFactory
The classloader-specific Factory for returning serialization
-
Constructor Summary
ConstructorsConstructorDescriptionContextSerializerFactory
(ContextSerializerFactory parent, ClassLoader loader) -
Method Summary
Modifier and TypeMethodDescriptionstatic ContextSerializerFactory
create()
static ContextSerializerFactory
create
(ClassLoader loader) Returns a custom deserializer the classReturns a custom serializer the classgetDeserializer
(String className) Returns the deserializer for a given class.getSerializer
(String className) Returns the serializer for a given class.
-
Constructor Details
-
ContextSerializerFactory
-
-
Method Details
-
create
-
create
-
getClassLoader
-
getSerializer
Returns the serializer for a given class. -
getCustomSerializer
Returns a custom serializer the class- Parameters:
cl
- the class of the object that needs to be serialized.- Returns:
- a serializer object for the serialization.
-
getDeserializer
Returns the deserializer for a given class. -
getCustomDeserializer
Returns a custom deserializer the class- Parameters:
cl
- the class of the object that needs to be deserialized.- Returns:
- a deserializer object for the deserialization.
-