public final class ModularClassTable extends Object implements ClassTable
ClassTable.Writer| Modifier and Type | Method and Description |
|---|---|
ClassTable.Writer |
getClassWriter(Class<?> clazz)
Determine whether the given class reference is a valid predefined reference.
|
static ModularClassTable |
getInstance(org.jboss.modules.ModuleLoader moduleLoader)
Get an instance using the given module loader.
|
Class<?> |
readClass(Unmarshaller unmarshaller)
Read a class from the stream.
|
public static ModularClassTable getInstance(org.jboss.modules.ModuleLoader moduleLoader)
moduleLoader - the module loader to usepublic ClassTable.Writer getClassWriter(Class<?> clazz) throws IOException
getClassWriter in interface ClassTableclazz - the candidate classnull to use the default mechanismIOException - if an I/O error occurspublic Class<?> readClass(Unmarshaller unmarshaller) throws IOException, ClassNotFoundException
ClassTable.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.