public abstract class InstanceReusingAdvancedExternalizer<T> extends AbstractExternalizer<T>
| Constructor and Description | 
|---|
| InstanceReusingAdvancedExternalizer() | 
| InstanceReusingAdvancedExternalizer(boolean hasChildren) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract T | doReadObject(ObjectInput input) | 
| abstract void | doWriteObject(ObjectOutput output,
             T object) | 
| T | readObject(ObjectInput input)Read an instance from the stream. | 
| void | writeObject(ObjectOutput output,
           T object)Write the object reference to the stream. | 
getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypeClassespublic InstanceReusingAdvancedExternalizer()
public InstanceReusingAdvancedExternalizer(boolean hasChildren)
public final void writeObject(ObjectOutput output, T object) throws IOException
Externalizeroutput - the object output to write toobject - the object reference to writeIOException - if an I/O error occurspublic abstract void doWriteObject(ObjectOutput output, T object) throws IOException
IOExceptionpublic final T readObject(ObjectInput input) throws IOException, ClassNotFoundException
ExternalizerExternalizer.writeObject(ObjectOutput, Object) method.  Implementations are free
 to create instances of the object read from the stream in any way that they
 feel like. This could be via constructor, factory or reflection.input - the object input to read fromIOException - if an I/O error occursClassNotFoundException - if a class could not be foundpublic abstract T doReadObject(ObjectInput input) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.