|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.marshalling.ChainingObjectTable
public class ChainingObjectTable
An object table that multiplexes up to 256 class tables. The protocol works by prepending the custom object table with an identifier byte.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.marshalling.ObjectTable |
|---|
ObjectTable.Writer |
| Constructor Summary | |
|---|---|
ChainingObjectTable(ObjectTable[] objectTables)
Construct a new instance. |
|
| Method Summary | |
|---|---|
ObjectTable.Writer |
getObjectWriter(java.lang.Object obj)
Determine whether the given object reference is a valid predefined reference. |
java.lang.Object |
readObject(Unmarshaller unmarshaller)
Read an instance from the stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainingObjectTable(ObjectTable[] objectTables)
objectTables - the object tables to delegate to| Method Detail |
|---|
public ObjectTable.Writer getObjectWriter(java.lang.Object obj)
throws java.io.IOException
getObjectWriter in interface ObjectTableobj - the candidate object
null to use the default mechanism
java.io.IOException - if an I/O error occurs
public java.lang.Object readObject(Unmarshaller unmarshaller)
throws java.io.IOException,
java.lang.ClassNotFoundException
ObjectTable.getObjectWriter(Object) method's Writer instance, as defined above.
readObject in interface ObjectTableunmarshaller - the unmarshaller to read from
java.io.IOException - if an I/O error occurs
java.lang.ClassNotFoundException - if a class could not be found
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||