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
@Deprecated public class JBossUserMarshaller extends JBossMarshaller
Deprecated.since 11.0. To be removed in 14.0 ISPN-11947.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
Deprecated.-
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()
Deprecated.JBossUserMarshaller(org.jboss.marshalling.ClassResolver classResolver)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
initialize(GlobalComponentRegistry gcr)
Deprecated.boolean
isMarshallable(Object o)
Deprecated.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
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(GlobalComponentRegistry gcr)
Deprecated.
-
isMarshallable
public boolean isMarshallable(Object o) throws Exception
Deprecated.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
-
-