com.caucho.hessian.io
Class BeanSerializerFactory
java.lang.Object
com.caucho.hessian.io.AbstractSerializerFactory
com.caucho.hessian.io.SerializerFactory
com.caucho.hessian.io.BeanSerializerFactory
public class BeanSerializerFactory
- extends SerializerFactory
Factory for returning serialization methods.
| Methods inherited from class com.caucho.hessian.io.SerializerFactory |
addFactory, createDefault, getClassLoader, getCustomDeserializer, getDeserializer, getDeserializer, getListDeserializer, getListDeserializer, getObjectDeserializer, getObjectDeserializer, getObjectSerializer, getSerializer, isAllowNonSerializable, loadDeserializer, loadSerializer, readList, readMap, readObject, setAllowNonSerializable, setSendCollectionType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanSerializerFactory
public BeanSerializerFactory()
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.
- Overrides:
getDefaultSerializer in class SerializerFactory
- Parameters:
cl - the class of the object that needs to be serialized.
- Returns:
- a serializer object for the serialization.
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.
- Overrides:
getDefaultDeserializer in class SerializerFactory
- Parameters:
cl - the class of the object that needs to be serialized.
- Returns:
- a serializer object for the serialization.
Copyright © 2013. All Rights Reserved.