Class ObjectExternalizer<T>
- java.lang.Object
-
- org.wildfly.clustering.marshalling.spi.ObjectExternalizer<T>
-
- All Implemented Interfaces:
Externalizer<T>
- Direct Known Subclasses:
SingletonCollectionExternalizer
public class ObjectExternalizer<T> extends Object implements Externalizer<T>
BaseExternalizerfor object wrapper externalization.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<T>getTargetClass()TreadObject(ObjectInput input)voidwriteObject(ObjectOutput output, T object)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.marshalling.Externalizer
size
-
-
-
-
Method Detail
-
writeObject
public void writeObject(ObjectOutput output, T object) throws IOException
- Specified by:
writeObjectin interfaceExternalizer<T>- Throws:
IOException
-
readObject
public T readObject(ObjectInput input) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceExternalizer<T>- Throws:
IOExceptionClassNotFoundException
-
getTargetClass
public Class<T> getTargetClass()
- Specified by:
getTargetClassin interfaceExternalizer<T>
-
-