public class WriteReplaceSerializer extends AbstractSerializer
NULL
Constructor and Description |
---|
WriteReplaceSerializer(java.lang.Class<?> cl,
java.lang.ClassLoader loader,
Serializer baseSerializer) |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.reflect.Method |
getWriteReplace(java.lang.Class<?> cl)
Returns the writeReplace method
|
protected static java.lang.reflect.Method |
getWriteReplace(java.lang.Class<?> cl,
java.lang.Class<?> param)
Returns the writeReplace method
|
void |
writeObject(java.lang.Object obj,
AbstractHessianOutput out) |
protected java.lang.Object |
writeReplace(java.lang.Object obj) |
getClass, writeDefinition20, writeInstance, writeObject10
public WriteReplaceSerializer(java.lang.Class<?> cl, java.lang.ClassLoader loader, Serializer baseSerializer)
protected static java.lang.reflect.Method getWriteReplace(java.lang.Class<?> cl, java.lang.Class<?> param)
protected static java.lang.reflect.Method getWriteReplace(java.lang.Class<?> cl)
public void writeObject(java.lang.Object obj, AbstractHessianOutput out) throws java.io.IOException
writeObject
in interface Serializer
writeObject
in class AbstractSerializer
java.io.IOException
protected java.lang.Object writeReplace(java.lang.Object obj)
writeReplace
in class AbstractSerializer