public final class ProtocolV1ClassTable extends Object implements ClassTable
ClassTable.Writer| Modifier and Type | Field and Description |
|---|---|
static ProtocolV1ClassTable |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ClassTable.Writer |
getClassWriter(Class<?> clazz)
Determine whether the given class reference is a valid predefined reference.
|
Class<?> |
readClass(Unmarshaller unmarshaller)
Read a class from the stream.
|
public static final ProtocolV1ClassTable INSTANCE
public ClassTable.Writer getClassWriter(Class<?> clazz) throws IOException
ClassTablegetClassWriter in interface ClassTableclazz - the candidate classnull to use the default mechanismIOException - if an I/O error occurspublic Class<?> readClass(Unmarshaller unmarshaller) throws IOException, ClassNotFoundException
ClassTableClassTable.getClassWriter(Class) method's Writer instance, as defined above.readClass in interface ClassTableunmarshaller - the unmarshaller to read fromIOException - if an I/O error occursClassNotFoundException - if a class could not be foundCopyright © 2012 JBoss by Red Hat. All Rights Reserved.