Class GlobalMarshaller
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 -
Method Summary
Modifier and TypeMethodDescriptionobjectFromByteBuffer(byte[] buf) objectFromByteBuffer(byte[] bytes, int offset, int len) objectFromInputStream(InputStream input) 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, writeUnknownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commons.marshall.Marshaller
initialize
-
Constructor Details
-
GlobalMarshaller
public GlobalMarshaller()
-
-
Method Details
-
objectFromByteBuffer
- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Overrides:
objectFromByteBufferin classorg.infinispan.marshall.core.GlobalMarshaller- Throws:
IOExceptionClassNotFoundException
-
objectFromByteBuffer
public Object objectFromByteBuffer(byte[] bytes, int offset, int len) throws IOException, ClassNotFoundException - Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Overrides:
objectFromByteBufferin classorg.infinispan.marshall.core.GlobalMarshaller- Throws:
IOExceptionClassNotFoundException
-
objectFromInputStream
- Specified by:
objectFromInputStreamin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
objectFromInputStreamin classorg.infinispan.marshall.core.GlobalMarshaller- Throws:
IOExceptionClassNotFoundException
-
objectFromObjectStream
- Specified by:
objectFromObjectStreamin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Overrides:
objectFromObjectStreamin classorg.infinispan.marshall.core.GlobalMarshaller
-