Package com.caucho.hessian.io
Class BeanSerializer
- java.lang.Object
-
- com.caucho.hessian.io.AbstractSerializer
-
- com.caucho.hessian.io.BeanSerializer
-
- All Implemented Interfaces:
Serializer
public class BeanSerializer extends AbstractSerializer
Serializing an object for known object types.
-
-
Field Summary
-
Fields inherited from class com.caucho.hessian.io.AbstractSerializer
NULL
-
-
Constructor Summary
Constructors Constructor Description BeanSerializer(Class<?> cl, ClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodgetWriteReplace(Class cl)Returns the writeReplace methodprotected MethodgetWriteReplace(Class cl, Class param)Returns the writeReplace methodvoidwriteObject(Object obj, AbstractHessianOutput out)-
Methods inherited from class com.caucho.hessian.io.AbstractSerializer
getClass, writeDefinition20, writeInstance, writeObject10, writeReplace
-
-
-
-
Constructor Detail
-
BeanSerializer
public BeanSerializer(Class<?> cl, ClassLoader loader)
-
-
Method Detail
-
getWriteReplace
protected Method getWriteReplace(Class cl, Class param)
Returns the writeReplace method
-
writeObject
public void writeObject(Object obj, AbstractHessianOutput out) throws IOException
- Specified by:
writeObjectin interfaceSerializer- Overrides:
writeObjectin classAbstractSerializer- Throws:
IOException
-
-