Class JBossByteBufferMarshaller
- java.lang.Object
-
- org.wildfly.clustering.marshalling.jboss.JBossByteBufferMarshaller
-
- All Implemented Interfaces:
ByteBufferMarshaller,Marshallability,Marshaller<Object,ByteBuffer>
public class JBossByteBufferMarshaller extends Object implements ByteBufferMarshaller
AByteBufferMarshallerbased on JBoss Marshalling.- Author:
- Paul Ferraro
-
-
Field Summary
-
Fields inherited from interface org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
LOGGER
-
-
Constructor Summary
Constructors Constructor Description JBossByteBufferMarshaller(MarshallingConfigurationRepository repository, ClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMarshallable(Object object)ObjectreadFrom(InputStream input)voidwriteTo(OutputStream output, Object value)-
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.spi.ByteBufferMarshaller
read, size, write
-
-
-
-
Constructor Detail
-
JBossByteBufferMarshaller
public JBossByteBufferMarshaller(MarshallingConfigurationRepository repository, ClassLoader loader)
-
-
Method Detail
-
readFrom
public Object readFrom(InputStream input) throws IOException
- Specified by:
readFromin interfaceByteBufferMarshaller- Throws:
IOException
-
writeTo
public void writeTo(OutputStream output, Object value) throws IOException
- Specified by:
writeToin interfaceByteBufferMarshaller- Throws:
IOException
-
isMarshallable
public boolean isMarshallable(Object object)
- Specified by:
isMarshallablein interfaceMarshallability
-
-