public final class ProtocolV1ObjectTable extends Object implements ObjectTable
ObjectTable.Writer
Modifier and Type | Field and Description |
---|---|
static ProtocolV1ObjectTable |
INSTANCE |
Constructor and Description |
---|
ProtocolV1ObjectTable() |
Modifier and Type | Method and Description |
---|---|
ObjectTable.Writer |
getObjectWriter(Object object)
Determine whether the given object reference is a valid predefined reference.
|
Object |
readObject(Unmarshaller unmarshaller)
Read an instance from the stream.
|
public static final ProtocolV1ObjectTable INSTANCE
public ObjectTable.Writer getObjectWriter(Object object) throws IOException
ObjectTable
getObjectWriter
in interface ObjectTable
object
- the candidate objectnull
to use the default mechanismIOException
- if an I/O error occurspublic Object readObject(Unmarshaller unmarshaller) throws IOException, ClassNotFoundException
ObjectTable
ObjectTable.getObjectWriter(Object)
method's Writer
instance, as defined above.readObject
in interface ObjectTable
unmarshaller
- the unmarshaller to read fromIOException
- if an I/O error occursClassNotFoundException
- if a class could not be foundCopyright © 2018 JBoss by Red Hat. All rights reserved.