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