public class ChainingObjectTable extends Object implements ObjectTable
ObjectTable.Writer
Constructor and Description |
---|
ChainingObjectTable(ObjectTable[] objectTables)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
ObjectTable.Writer |
getObjectWriter(Object obj)
Determine whether the given object reference is a valid predefined reference.
|
Object |
readObject(Unmarshaller unmarshaller)
Read an instance from the stream.
|
public ChainingObjectTable(ObjectTable[] objectTables)
objectTables
- the object tables to delegate topublic ObjectTable.Writer getObjectWriter(Object obj) throws IOException
getObjectWriter
in interface ObjectTable
obj
- the candidate objectnull
to use the default mechanismIOException
- if an I/O error occurspublic Object readObject(Unmarshaller unmarshaller) throws IOException, ClassNotFoundException
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 © 2017 JBoss by Red Hat. All rights reserved.