Class ExternalizerObjectTable
- java.lang.Object
-
- org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable
-
- All Implemented Interfaces:
org.jboss.marshalling.ObjectTable
- Direct Known Subclasses:
DynamicExternalizerObjectTable
public class ExternalizerObjectTable extends Object implements org.jboss.marshalling.ObjectTable
ObjectTableimplementation that dynamically loadsExternalizerinstances available from a givenClassLoader.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ExternalizerObjectTable(List<Externalizer<?>> externalizers)ExternalizerObjectTable(Externalizer<?>... externalizers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.marshalling.ObjectTable.WritergetObjectWriter(Object object)ObjectreadObject(org.jboss.marshalling.Unmarshaller unmarshaller)
-
-
-
Constructor Detail
-
ExternalizerObjectTable
public ExternalizerObjectTable(List<Externalizer<?>> externalizers)
-
ExternalizerObjectTable
@SafeVarargs public ExternalizerObjectTable(Externalizer<?>... externalizers)
-
-
Method Detail
-
getObjectWriter
public org.jboss.marshalling.ObjectTable.Writer getObjectWriter(Object object) throws IOException
- Specified by:
getObjectWriterin interfaceorg.jboss.marshalling.ObjectTable- Throws:
IOException
-
readObject
public Object readObject(org.jboss.marshalling.Unmarshaller unmarshaller) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceorg.jboss.marshalling.ObjectTable- Throws:
IOExceptionClassNotFoundException
-
-