org.apache.openejb.util
Class PojoExternalization
java.lang.Object
org.apache.openejb.util.PojoSerialization
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoExternalization
public PojoExternalization()
- Constructor for externalization
PojoExternalization
public PojoExternalization(Object object)
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-2011 The Apache OpenEJB development community. All Rights Reserved.