类 AbstractSerializerFactory
- java.lang.Object
-
- com.alibaba.com.caucho.hessian.io.AbstractSerializerFactory
-
- 直接已知子类:
ExtSerializerFactory
,SerializerFactory
public abstract class AbstractSerializerFactory extends Object
Factory for returning serialization methods.
-
-
构造器概要
构造器 构造器 说明 AbstractSerializerFactory()
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 abstract Deserializer
getDeserializer(Class cl)
Returns the deserializer for a class.abstract Serializer
getSerializer(Class cl)
Returns the serializer for a class.
-
-
-
方法详细资料
-
getSerializer
public abstract Serializer getSerializer(Class cl) throws HessianProtocolException
Returns the serializer for a class.- 参数:
cl
- the class of the object that needs to be serialized.- 返回:
- a serializer object for the serialization.
- 抛出:
HessianProtocolException
-
getDeserializer
public abstract Deserializer getDeserializer(Class cl) throws HessianProtocolException
Returns the deserializer for a class.- 参数:
cl
- the class of the object that needs to be deserialized.- 返回:
- a deserializer object for the serialization.
- 抛出:
HessianProtocolException
-
-