Class JBossUserMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
-
- org.infinispan.jboss.marshalling.core.JBossMarshaller
-
- org.infinispan.jboss.marshalling.core.JBossUserMarshaller
-
- All Implemented Interfaces:
Marshaller
,StreamingMarshaller
public class JBossUserMarshaller extends JBossMarshaller
An extension of theJBossMarshaller
that loads user definedExternalizer
implementations. This class can be removed if/when we no longer support a jboss-marshalling based user marshaller.- Since:
- 10.0
- Author:
- Ryan Emerson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
AbstractJBossMarshaller.DebuggingExceptionListener
-
-
Field Summary
Fields Modifier and Type Field Description static int
USER_EXT_ID_MIN
-
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 JBossUserMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(GlobalComponentRegistry gcr)
boolean
isMarshallable(java.lang.Object o)
A method that checks whether the given object is marshallable as per the rules of this marshaller.-
Methods inherited from class org.infinispan.jboss.marshalling.core.JBossMarshaller
isMarshallableCandidate, start, stop
-
Methods inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
finishObjectInput, finishObjectOutput, mediaType, objectFromByteBuffer, objectFromObjectStream, objectToBuffer, objectToObjectStream, startObjectInput, startObjectOutput
-
Methods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
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
getBufferSizePredictor, initialize, mediaType, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBuffer
-
Methods inherited from interface org.infinispan.commons.marshall.StreamingMarshaller
finishObjectInput, finishObjectOutput, objectFromInputStream, objectFromObjectStream, objectToObjectStream, startObjectInput, startObjectOutput
-
-
-
-
Field Detail
-
USER_EXT_ID_MIN
public static final int USER_EXT_ID_MIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(GlobalComponentRegistry gcr)
-
isMarshallable
public boolean isMarshallable(java.lang.Object o) throws java.lang.Exception
Description copied from interface:Marshaller
A method that checks whether the given object is marshallable as per the rules of this marshaller.- Specified by:
isMarshallable
in interfaceMarshaller
- Overrides:
isMarshallable
in classAbstractJBossMarshaller
- Parameters:
o
- object to verify whether it's marshallable or not- Returns:
- true if the object is marshallable, otherwise false
- Throws:
java.lang.Exception
- if while checking whether the object was serializable or not, an exception arose
-
-