public class ExtSerializerFactory extends AbstractSerializerFactory
Constructor and Description |
---|
ExtSerializerFactory() |
Modifier and Type | Method and Description |
---|---|
void |
addDeserializer(java.lang.Class cl,
Deserializer deserializer)
Adds a deserializer.
|
void |
addSerializer(java.lang.Class cl,
Serializer serializer)
Adds a serializer.
|
Deserializer |
getDeserializer(java.lang.Class cl)
Returns the deserializer for a class.
|
Serializer |
getSerializer(java.lang.Class cl)
Returns the serializer for a class.
|
public void addSerializer(java.lang.Class cl, Serializer serializer)
cl
- the class of the serializerserializer
- the serializerpublic void addDeserializer(java.lang.Class cl, Deserializer deserializer)
cl
- the class of the deserializerdeserializer
- the deserializerpublic Serializer getSerializer(java.lang.Class cl) throws HessianProtocolException
getSerializer
in class AbstractSerializerFactory
cl
- the class of the object that needs to be serialized.HessianProtocolException
public Deserializer getDeserializer(java.lang.Class cl) throws HessianProtocolException
getDeserializer
in class AbstractSerializerFactory
cl
- the class of the object that needs to be deserialized.HessianProtocolException