com.caucho.hessian.io
Class AbstractSerializerFactory
java.lang.Object
com.caucho.hessian.io.AbstractSerializerFactory
- Direct Known Subclasses:
- ExtSerializerFactory, JMXSerializerFactory, SerializerFactory
public abstract class AbstractSerializerFactory
- extends Object
Factory for returning serialization methods.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSerializerFactory
public AbstractSerializerFactory()
getSerializer
public abstract Serializer getSerializer(Class cl)
throws HessianProtocolException
- Returns the serializer for a class.
- Parameters:
cl - the class of the object that needs to be serialized.
- Returns:
- a serializer object for the serialization.
- Throws:
HessianProtocolException
getDeserializer
public abstract Deserializer getDeserializer(Class cl)
throws HessianProtocolException
- Returns the deserializer for a class.
- Parameters:
cl - the class of the object that needs to be deserialized.
- Returns:
- a deserializer object for the serialization.
- Throws:
HessianProtocolException
Copyright © 2013. All Rights Reserved.