Class JavaByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.marshalling.AbstractByteBufferMarshaller
org.wildfly.clustering.marshalling.java.JavaByteBufferMarshaller
- All Implemented Interfaces:
ByteBufferMarshaller, Marshallability, Marshaller<Object, ByteBuffer>
A
ByteBufferMarshaller based on Java serialization.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface ByteBufferMarshaller
LOGGERFields inherited from interface Marshallability
TRUE -
Constructor Summary
ConstructorsConstructorDescriptionJavaByteBufferMarshaller(ClassLoader loader, ObjectInputFilter filter) JavaByteBufferMarshaller(Serializer<ClassLoader> classLoaderSerializer, ClassLoader loader, ObjectInputFilter filter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMarshallable(Object object) readFrom(InputStream in) toString()voidwriteTo(OutputStream out, Object object) Methods inherited from class AbstractByteBufferMarshaller
getContextProviderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ByteBufferMarshaller
read, size, write
-
Constructor Details
-
JavaByteBufferMarshaller
-
JavaByteBufferMarshaller
public JavaByteBufferMarshaller(Serializer<ClassLoader> classLoaderSerializer, ClassLoader loader, ObjectInputFilter filter)
-
-
Method Details
-
isMarshallable
-
readFrom
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
toString
-