Class ExternalizerObjectTable
- java.lang.Object
-
- org.wildfly.clustering.marshalling.jboss.ExternalizerObjectTable
-
- All Implemented Interfaces:
org.jboss.marshalling.ObjectTable
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(ClassLoader... loader)ExternalizerObjectTable(List<Externalizer<Object>> externalizers)ExternalizerObjectTable(Externalizer<Object>... 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(ClassLoader... loader)
-
ExternalizerObjectTable
public ExternalizerObjectTable(List<Externalizer<Object>> externalizers)
-
ExternalizerObjectTable
@SafeVarargs public ExternalizerObjectTable(Externalizer<Object>... 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
-
-