Class GenericJBossMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
-
- org.infinispan.jboss.marshalling.commons.GenericJBossMarshaller
-
- All Implemented Interfaces:
Marshaller
,StreamingMarshaller
public final class GenericJBossMarshaller extends AbstractJBossMarshaller
A marshaller that makes use of JBoss Marshalling to serialize and deserialize objects. This marshaller is oriented at external, non-core Infinispan use, such as the Java Hot Rod client.- Version:
- 4.1
- Author:
- Manik Surtani
- See Also:
- JBoss Marshalling
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
AbstractJBossMarshaller.DebuggingExceptionListener
-
-
Field Summary
-
Fields inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
baseCfg, DEF_CLASS_COUNT, DEF_INSTANCE_COUNT, factory, log
-
Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints
-
-
Constructor Summary
Constructors Constructor Description GenericJBossMarshaller()
GenericJBossMarshaller(ClassLoader classLoader)
GenericJBossMarshaller(ClassLoader classLoader, ClassWhiteList classWhiteList)
GenericJBossMarshaller(ClassWhiteList classWhiteList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(ClassWhiteList classWhiteList)
An optional method which allows an implementation to respect theClassWhiteList
associated with the context, for example the EmbeddedCacheManager or RemoteCacheManager.-
Methods inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
finishObjectInput, finishObjectOutput, isMarshallable, isMarshallableCandidate, mediaType, objectFromByteBuffer, objectFromObjectStream, objectToBuffer, objectToObjectStream, start, startObjectInput, startObjectOutput, stop
-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
Methods inherited from interface org.infinispan.commons.marshall.Marshaller
getBufferSizePredictor, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
Methods inherited from interface org.infinispan.commons.marshall.StreamingMarshaller
objectFromInputStream
-
-
-
-
Constructor Detail
-
GenericJBossMarshaller
public GenericJBossMarshaller()
-
GenericJBossMarshaller
public GenericJBossMarshaller(ClassLoader classLoader)
-
GenericJBossMarshaller
public GenericJBossMarshaller(ClassWhiteList classWhiteList)
-
GenericJBossMarshaller
public GenericJBossMarshaller(ClassLoader classLoader, ClassWhiteList classWhiteList)
-
-
Method Detail
-
initialize
public void initialize(ClassWhiteList classWhiteList)
Description copied from interface:Marshaller
An optional method which allows an implementation to respect theClassWhiteList
associated with the context, for example the EmbeddedCacheManager or RemoteCacheManager.
-
-