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
FieldsFields inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
baseCfg, DEF_CLASS_COUNT, DEF_INSTANCE_COUNT, factory, logFields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanA 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, stopMethods inherited from class org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
finishObjectInput, finishObjectOutput, mediaType, objectFromByteBuffer, objectFromObjectStream, objectToBuffer, objectToObjectStream, startObjectInput, startObjectOutputMethods inherited from class org.infinispan.commons.marshall.AbstractMarshaller
getBufferSizePredictor, objectFromByteBuffer, objectFromInputStream, objectToBuffer, objectToByteBuffer, objectToByteBufferMethods 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
getBufferSizePredictor, initialize, mediaType, objectFromByteBuffer, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBufferMethods 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:MarshallerA method that checks whether the given object is marshallable as per the rules of this marshaller.- Specified by:
isMarshallablein interfaceMarshaller- Overrides:
isMarshallablein 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
-