public class SimpleClassTable extends Object implements org.jboss.marshalling.ClassTable
ClassTable
implementation based on an array of recognized classes.Constructor and Description |
---|
SimpleClassTable(Externalizer<Integer> indexExternalizer,
Class<?>... classes) |
Modifier and Type | Method and Description |
---|---|
org.jboss.marshalling.ClassTable.Writer |
getClassWriter(Class<?> clazz) |
Class<?> |
readClass(org.jboss.marshalling.Unmarshaller input) |
public SimpleClassTable(Externalizer<Integer> indexExternalizer, Class<?>... classes)
public org.jboss.marshalling.ClassTable.Writer getClassWriter(Class<?> clazz)
getClassWriter
in interface org.jboss.marshalling.ClassTable
public Class<?> readClass(org.jboss.marshalling.Unmarshaller input) throws IOException, ClassNotFoundException
readClass
in interface org.jboss.marshalling.ClassTable
IOException
ClassNotFoundException
Copyright © 2017 JBoss by Red Hat. All rights reserved.