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
LOGGER
Fields 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 TypeMethodDescriptionboolean
isMarshallable
(Object object) readFrom
(InputStream in) toString()
void
writeTo
(OutputStream out, Object object) Methods inherited from class org.wildfly.clustering.marshalling.AbstractByteBufferMarshaller
getContextProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-