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
An extension of the
JBossMarshaller
that loads user defined Externalizer
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 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
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 Details
-
USER_EXT_ID_MIN
public static final int USER_EXT_ID_MIN- See Also:
-
-
Constructor Details
-
JBossUserMarshaller
public JBossUserMarshaller() -
JBossUserMarshaller
public JBossUserMarshaller(org.jboss.marshalling.ClassResolver classResolver)
-
-
Method Details
-
initialize
-
isMarshallable
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:
Exception
- if while checking whether the object was serializable or not, an exception arose
-