com.caucho.hessian.io
Class BeanSerializerFactory
public class BeanSerializerFactory
Factory for returning serialization methods.
getDefaultDeserializer
protected Deserializer getDefaultDeserializer(Class cl)
Returns the default deserializer for a class that isn't matched
directly. Application can override this method to produce
bean-style serialization instead of field serialization.
- getDefaultDeserializer in interface SerializerFactory
cl
- the class of the object that needs to be serialized.
- a serializer object for the serialization.
getDefaultSerializer
protected Serializer getDefaultSerializer(Class cl)
Returns the default serializer for a class that isn't matched
directly. Application can override this method to produce
bean-style serialization instead of field serialization.
- getDefaultSerializer in interface SerializerFactory
cl
- the class of the object that needs to be serialized.
- a serializer object for the serialization.