|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.hessian.io.ContextSerializerFactory
public class ContextSerializerFactory
The classloader-specific Factory for returning serialization
| Constructor Summary | |
|---|---|
ContextSerializerFactory(ContextSerializerFactory parent,
ClassLoader loader)
|
|
| Method Summary | |
|---|---|
static ContextSerializerFactory |
create()
|
static ContextSerializerFactory |
create(ClassLoader loader)
|
ClassLoader |
getClassLoader()
|
Deserializer |
getCustomDeserializer(Class cl)
Returns a custom deserializer the class |
Serializer |
getCustomSerializer(Class cl)
Returns a custom serializer the class |
Deserializer |
getDeserializer(String className)
Returns the deserializer for a given class. |
Serializer |
getSerializer(String className)
Returns the serializer for a given class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextSerializerFactory(ContextSerializerFactory parent,
ClassLoader loader)
| Method Detail |
|---|
public static ContextSerializerFactory create()
public static ContextSerializerFactory create(ClassLoader loader)
public ClassLoader getClassLoader()
public Serializer getSerializer(String className)
public Serializer getCustomSerializer(Class cl)
cl - the class of the object that needs to be serialized.
public Deserializer getDeserializer(String className)
public Deserializer getCustomDeserializer(Class cl)
cl - the class of the object that needs to be deserialized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||