org.apache.openejb.util
Class PojoExternalization

java.lang.Object
  extended by org.apache.openejb.util.PojoSerialization
      extended by org.apache.openejb.util.PojoExternalization
All Implemented Interfaces:
Externalizable, Serializable

public class PojoExternalization
extends PojoSerialization
implements Externalizable

Works with objects that have a public no-arg constructor

See Also:
Serialized Form

Constructor Summary
PojoExternalization()
          Constructor for externalization
PojoExternalization(Object object)
           
 
Method Summary
 void readExternal(ObjectInput in)
           
protected  Object readResolve()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.apache.openejb.util.PojoSerialization
read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoExternalization

public PojoExternalization()
Constructor for externalization


PojoExternalization

public PojoExternalization(Object object)
Method Detail

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Overrides:
readResolve in class PojoSerialization
Throws:
ObjectStreamException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.