Class AbstractJBossMarshaller
- java.lang.Object
-
- org.infinispan.commons.marshall.AbstractMarshaller
-
- org.infinispan.jboss.marshalling.commons.AbstractJBossMarshaller
-
- All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller,org.infinispan.commons.marshall.StreamingMarshaller
- Direct Known Subclasses:
GenericJBossMarshaller,JBossMarshaller
@Deprecated public abstract class AbstractJBossMarshaller extends org.infinispan.commons.marshall.AbstractMarshaller implements org.infinispan.commons.marshall.StreamingMarshaller
Deprecated.since 11.0. To be removed in 14.0 ISPN-11947.Common parent for both embedded and standalone JBoss Marshalling-based marshallers.- Since:
- 5.0
- Author:
- Galder ZamarreƱo, Sanne Grinovero, Dan Berindei
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractJBossMarshaller.DebuggingExceptionListenerDeprecated.
-
Field Summary
Fields Modifier and Type Field Description protected org.jboss.marshalling.MarshallingConfigurationbaseCfgDeprecated.protected static intDEF_CLASS_COUNTDeprecated.protected static intDEF_INSTANCE_COUNTDeprecated.protected static JBossMarshallerFactoryfactoryDeprecated.protected static org.infinispan.commons.logging.LoglogDeprecated.
-
Constructor Summary
Constructors Constructor Description AbstractJBossMarshaller()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidfinishObjectInput(ObjectInput oi)Deprecated.voidfinishObjectOutput(ObjectOutput oo)Deprecated.booleanisMarshallable(Object o)Deprecated.protected booleanisMarshallableCandidate(Object o)Deprecated.org.infinispan.commons.dataconversion.MediaTypemediaType()Deprecated.ObjectobjectFromByteBuffer(byte[] buf, int offset, int length)Deprecated.ObjectobjectFromObjectStream(ObjectInput in)Deprecated.protected org.infinispan.commons.io.ByteBufferobjectToBuffer(Object o, int estimatedSize)Deprecated.voidobjectToObjectStream(Object obj, ObjectOutput out)Deprecated.voidstart()Deprecated.ObjectInputstartObjectInput(InputStream is, boolean isReentrant)Deprecated.ObjectOutputstartObjectOutput(OutputStream os, boolean isReentrant, int estimatedSize)Deprecated.voidstop()Deprecated.-
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
-
-
-
-
Field Detail
-
log
protected static final org.infinispan.commons.logging.Log log
Deprecated.
-
factory
protected static final JBossMarshallerFactory factory
Deprecated.
-
DEF_INSTANCE_COUNT
protected static final int DEF_INSTANCE_COUNT
Deprecated.- See Also:
- Constant Field Values
-
DEF_CLASS_COUNT
protected static final int DEF_CLASS_COUNT
Deprecated.- See Also:
- Constant Field Values
-
baseCfg
protected final org.jboss.marshalling.MarshallingConfiguration baseCfg
Deprecated.
-
-
Method Detail
-
objectToObjectStream
public final void objectToObjectStream(Object obj, ObjectOutput out) throws IOException
Deprecated.- Specified by:
objectToObjectStreamin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Throws:
IOException
-
objectToBuffer
protected final org.infinispan.commons.io.ByteBuffer objectToBuffer(Object o, int estimatedSize) throws IOException
Deprecated.- Specified by:
objectToBufferin classorg.infinispan.commons.marshall.AbstractMarshaller- Throws:
IOException
-
startObjectOutput
public final ObjectOutput startObjectOutput(OutputStream os, boolean isReentrant, int estimatedSize) throws IOException
Deprecated.- Specified by:
startObjectOutputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Throws:
IOException
-
finishObjectOutput
public final void finishObjectOutput(ObjectOutput oo)
Deprecated.- Specified by:
finishObjectOutputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller
-
objectFromByteBuffer
public final Object objectFromByteBuffer(byte[] buf, int offset, int length) throws IOException, ClassNotFoundException
Deprecated.- Specified by:
objectFromByteBufferin interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
IOExceptionClassNotFoundException
-
startObjectInput
public final ObjectInput startObjectInput(InputStream is, boolean isReentrant) throws IOException
Deprecated.- Specified by:
startObjectInputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Throws:
IOException
-
objectFromObjectStream
public final Object objectFromObjectStream(ObjectInput in) throws IOException, ClassNotFoundException
Deprecated.- Specified by:
objectFromObjectStreamin interfaceorg.infinispan.commons.marshall.StreamingMarshaller- Throws:
IOExceptionClassNotFoundException
-
finishObjectInput
public final void finishObjectInput(ObjectInput oi)
Deprecated.- Specified by:
finishObjectInputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller
-
isMarshallable
public boolean isMarshallable(Object o) throws Exception
Deprecated.- Specified by:
isMarshallablein interfaceorg.infinispan.commons.marshall.Marshaller- Throws:
Exception
-
start
public void start()
Deprecated.- Specified by:
startin interfaceorg.infinispan.commons.marshall.Marshaller- Specified by:
startin interfaceorg.infinispan.commons.marshall.StreamingMarshaller
-
stop
public void stop()
Deprecated.- Specified by:
stopin interfaceorg.infinispan.commons.marshall.Marshaller- Specified by:
stopin interfaceorg.infinispan.commons.marshall.StreamingMarshaller
-
isMarshallableCandidate
protected boolean isMarshallableCandidate(Object o)
Deprecated.
-
mediaType
public org.infinispan.commons.dataconversion.MediaType mediaType()
Deprecated.- Specified by:
mediaTypein interfaceorg.infinispan.commons.marshall.Marshaller
-
-