Class JavaByteBufferMarshaller

  • All Implemented Interfaces:
    org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller, org.wildfly.clustering.marshalling.spi.Marshallability, org.wildfly.clustering.marshalling.spi.Marshaller<Object,​ByteBuffer>

    public class JavaByteBufferMarshaller
    extends Object
    implements org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
    A ByteBufferMarshaller based on Java serialization.
    Author:
    Paul Ferraro
    • Constructor Detail

      • JavaByteBufferMarshaller

        public JavaByteBufferMarshaller​(org.wildfly.clustering.marshalling.Externalizer<ClassLoader> externalizer)
    • Method Detail

      • isMarshallable

        public boolean isMarshallable​(Object object)
        Specified by:
        isMarshallable in interface org.wildfly.clustering.marshalling.spi.Marshallability
      • writeTo

        public void writeTo​(OutputStream out,
                            Object object)
                     throws IOException
        Specified by:
        writeTo in interface org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
        Throws:
        IOException