Package com.caucho.hessian.jmx
Class JMXSerializerFactory
java.lang.Object
com.caucho.hessian.io.AbstractSerializerFactory
com.caucho.hessian.jmx.JMXSerializerFactory
Serializers for JMX classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDeserializer
(Class cl) Returns the deserializer for a class.getSerializer
(Class cl) Returns the serializer for a class.
-
Constructor Details
-
JMXSerializerFactory
public JMXSerializerFactory()
-
-
Method Details
-
getSerializer
Returns the serializer for a class.- Specified by:
getSerializer
in classAbstractSerializerFactory
- Parameters:
cl
- the class of the object that needs to be serialized.- Returns:
- a serializer object for the serialization.
- Throws:
HessianProtocolException
-
getDeserializer
Returns the deserializer for a class.- Specified by:
getDeserializer
in classAbstractSerializerFactory
- Parameters:
cl
- the class of the object that needs to be deserialized.- Returns:
- a deserializer object for the serialization.
- Throws:
HessianProtocolException
-