java.lang.Object
org.infinispan.marshall.core.GlobalMarshaller
org.wildfly.clustering.cache.infinispan.embedded.marshall.GlobalMarshaller
All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller, org.infinispan.commons.marshall.StreamingMarshaller

public class GlobalMarshaller extends org.infinispan.marshall.core.GlobalMarshaller
Adds privileged actions to the default global marshaller.
Author:
Paul Ferraro
  • Field Summary

    Fields inherited from class org.infinispan.marshall.core.GlobalMarshaller

    ID_ANNOTATED, ID_EXTERNAL, ID_INTERNAL, ID_NULL, ID_PRIMITIVE, ID_UNKNOWN, NOT_FOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    objectFromByteBuffer(byte[] bytes, int offset, int len)
     
     
     

    Methods inherited from class org.infinispan.marshall.core.GlobalMarshaller

    findExternalizerFor, finishObjectInput, finishObjectOutput, getBufferSizePredictor, getExternalExternalizer, getInteralExternalizer, getPersistenceMarshaller, isMarshallable, mediaType, objectToBuffer, objectToByteBuffer, objectToByteBuffer, objectToObjectStream, readObjectFromObjectInput, start, startObjectInput, startObjectOutput, stop, writeExternalClean, writeInternalClean, writeUnknown

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.infinispan.commons.marshall.Marshaller

    initialize
  • Constructor Details

    • GlobalMarshaller

      public GlobalMarshaller()
  • Method Details

    • objectFromByteBuffer

      public Object objectFromByteBuffer(byte[] buf) throws IOException, ClassNotFoundException
      Specified by:
      objectFromByteBuffer in interface org.infinispan.commons.marshall.Marshaller
      Overrides:
      objectFromByteBuffer in class org.infinispan.marshall.core.GlobalMarshaller
      Throws:
      IOException
      ClassNotFoundException
    • objectFromByteBuffer

      public Object objectFromByteBuffer(byte[] bytes, int offset, int len) throws IOException, ClassNotFoundException
      Specified by:
      objectFromByteBuffer in interface org.infinispan.commons.marshall.Marshaller
      Overrides:
      objectFromByteBuffer in class org.infinispan.marshall.core.GlobalMarshaller
      Throws:
      IOException
      ClassNotFoundException
    • objectFromInputStream

      public Object objectFromInputStream(InputStream input) throws IOException, ClassNotFoundException
      Specified by:
      objectFromInputStream in interface org.infinispan.commons.marshall.StreamingMarshaller
      Overrides:
      objectFromInputStream in class org.infinispan.marshall.core.GlobalMarshaller
      Throws:
      IOException
      ClassNotFoundException
    • objectFromObjectStream

      public Object objectFromObjectStream(ObjectInput input)
      Specified by:
      objectFromObjectStream in interface org.infinispan.commons.marshall.StreamingMarshaller
      Overrides:
      objectFromObjectStream in class org.infinispan.marshall.core.GlobalMarshaller