Class SimpleClassTable
- java.lang.Object
-
- org.wildfly.clustering.marshalling.jboss.SimpleClassTable
-
- All Implemented Interfaces:
org.jboss.marshalling.ClassTable
- Direct Known Subclasses:
DynamicClassTable
public class SimpleClassTable extends Object implements org.jboss.marshalling.ClassTable
SimpleClassTableimplementation based on an array of recognized classes.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description SimpleClassTable(Class<?>... classes)SimpleClassTable(List<Class<?>> classes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.marshalling.ClassTable.WritergetClassWriter(Class<?> targetClass)Class<?>readClass(org.jboss.marshalling.Unmarshaller input)
-
-
-
Method Detail
-
getClassWriter
public org.jboss.marshalling.ClassTable.Writer getClassWriter(Class<?> targetClass)
- Specified by:
getClassWriterin interfaceorg.jboss.marshalling.ClassTable
-
readClass
public Class<?> readClass(org.jboss.marshalling.Unmarshaller input) throws IOException
- Specified by:
readClassin interfaceorg.jboss.marshalling.ClassTable- Throws:
IOException
-
-