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 org.wildfly.clustering.marshalling.ByteBufferMarshaller
LOGGERFields inherited from interface org.wildfly.clustering.marshalling.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 org.wildfly.clustering.marshalling.AbstractByteBufferMarshaller
getContextProviderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.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
-