com.anwrt.commons.protocol
Class AwtHessianSerializer

java.lang.Object
  extended by com.anwrt.commons.protocol.AwtHessianSerializer

public class AwtHessianSerializer
extends java.lang.Object

AwtHessianSerializer serialize Java Objects to Hessian objects

creation : 11 aug 2008

Author:
David FRANCOIS

Field Summary
 java.util.ArrayList classDefs
          List of class def
 java.util.ArrayList directClassDefs
          List of direct class defs
 
Constructor Summary
AwtHessianSerializer()
           
 
Method Summary
 void addClassDefs(HessianClassdef hessianClassdef)
           
 java.util.List getClassDefs()
           
 HessianValue serialize(java.lang.Object obj)
          Serialize the object given as parameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classDefs

public final java.util.ArrayList classDefs
List of class def


directClassDefs

public final java.util.ArrayList directClassDefs
List of direct class defs

Constructor Detail

AwtHessianSerializer

public AwtHessianSerializer()
Method Detail

serialize

public HessianValue serialize(java.lang.Object obj)
                       throws AwtHessianSerializerException
Serialize the object given as parameter

Parameters:
obj - Object to be serialized
Returns:
the serialized object as a HessianValue
Throws:
AwtHessianSerializerException

getClassDefs

public java.util.List getClassDefs()

addClassDefs

public void addClassDefs(HessianClassdef hessianClassdef)