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 ClassesModifier and TypeClassDescriptionprotected static final classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.jboss.marshalling.MarshallingConfigurationDeprecated.protected static final intDeprecated.protected static final intDeprecated.protected static final JBossMarshallerFactoryDeprecated.protected static final org.infinispan.commons.logging.LogDeprecated.Fields inherited from class org.infinispan.commons.marshall.AbstractMarshaller
marshallableTypeHints -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidDeprecated.final voidDeprecated.booleanDeprecated.protected booleanDeprecated.org.infinispan.commons.dataconversion.MediaTypeDeprecated.final ObjectobjectFromByteBuffer(byte[] buf, int offset, int length) Deprecated.final ObjectDeprecated.protected final org.infinispan.commons.io.ByteBufferobjectToBuffer(Object o, int estimatedSize) Deprecated.final voidobjectToObjectStream(Object obj, ObjectOutput out) Deprecated.voidstart()Deprecated.final ObjectInputstartObjectInput(InputStream is, boolean isReentrant) Deprecated.final ObjectOutputstartObjectOutput(OutputStream os, boolean isReentrant, int estimatedSize) Deprecated.voidstop()Deprecated.Methods 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, objectFromByteBuffer, objectToBuffer, objectToByteBuffer, objectToByteBufferMethods inherited from interface org.infinispan.commons.marshall.StreamingMarshaller
objectFromInputStream
-
Field Details
-
log
protected static final org.infinispan.commons.logging.Log logDeprecated. -
factory
Deprecated. -
DEF_INSTANCE_COUNT
protected static final int DEF_INSTANCE_COUNTDeprecated.- See Also:
-
DEF_CLASS_COUNT
protected static final int DEF_CLASS_COUNTDeprecated.- See Also:
-
baseCfg
protected final org.jboss.marshalling.MarshallingConfiguration baseCfgDeprecated.
-
-
Constructor Details
-
AbstractJBossMarshaller
public AbstractJBossMarshaller()Deprecated.
-
-
Method Details
-
objectToObjectStream
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
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
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
Deprecated.- Specified by:
finishObjectInputin interfaceorg.infinispan.commons.marshall.StreamingMarshaller
-
isMarshallable
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
Deprecated. -
mediaType
public org.infinispan.commons.dataconversion.MediaType mediaType()Deprecated.- Specified by:
mediaTypein interfaceorg.infinispan.commons.marshall.Marshaller
-