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
  • Field Details

    • 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:
    • DEF_CLASS_COUNT

      protected static final int DEF_CLASS_COUNT
      Deprecated.
      See Also:
    • baseCfg

      protected final org.jboss.marshalling.MarshallingConfiguration baseCfg
      Deprecated.
  • Constructor Details

    • AbstractJBossMarshaller

      public AbstractJBossMarshaller()
      Deprecated.
  • Method Details

    • objectToObjectStream

      public final void objectToObjectStream(Object obj, ObjectOutput out) throws IOException
      Deprecated.
      Specified by:
      objectToObjectStream in interface org.infinispan.commons.marshall.StreamingMarshaller
      Throws:
      IOException
    • objectToBuffer

      protected final org.infinispan.commons.io.ByteBuffer objectToBuffer(Object o, int estimatedSize) throws IOException
      Deprecated.
      Specified by:
      objectToBuffer in class org.infinispan.commons.marshall.AbstractMarshaller
      Throws:
      IOException
    • startObjectOutput

      public final ObjectOutput startObjectOutput(OutputStream os, boolean isReentrant, int estimatedSize) throws IOException
      Deprecated.
      Specified by:
      startObjectOutput in interface org.infinispan.commons.marshall.StreamingMarshaller
      Throws:
      IOException
    • finishObjectOutput

      public final void finishObjectOutput(ObjectOutput oo)
      Deprecated.
      Specified by:
      finishObjectOutput in interface org.infinispan.commons.marshall.StreamingMarshaller
    • objectFromByteBuffer

      public final Object objectFromByteBuffer(byte[] buf, int offset, int length) throws IOException, ClassNotFoundException
      Deprecated.
      Specified by:
      objectFromByteBuffer in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      IOException
      ClassNotFoundException
    • startObjectInput

      public final ObjectInput startObjectInput(InputStream is, boolean isReentrant) throws IOException
      Deprecated.
      Specified by:
      startObjectInput in interface org.infinispan.commons.marshall.StreamingMarshaller
      Throws:
      IOException
    • objectFromObjectStream

      public final Object objectFromObjectStream(ObjectInput in) throws IOException, ClassNotFoundException
      Deprecated.
      Specified by:
      objectFromObjectStream in interface org.infinispan.commons.marshall.StreamingMarshaller
      Throws:
      IOException
      ClassNotFoundException
    • finishObjectInput

      public final void finishObjectInput(ObjectInput oi)
      Deprecated.
      Specified by:
      finishObjectInput in interface org.infinispan.commons.marshall.StreamingMarshaller
    • isMarshallable

      public boolean isMarshallable(Object o) throws Exception
      Deprecated.
      Specified by:
      isMarshallable in interface org.infinispan.commons.marshall.Marshaller
      Throws:
      Exception
    • start

      public void start()
      Deprecated.
      Specified by:
      start in interface org.infinispan.commons.marshall.Marshaller
      Specified by:
      start in interface org.infinispan.commons.marshall.StreamingMarshaller
    • stop

      public void stop()
      Deprecated.
      Specified by:
      stop in interface org.infinispan.commons.marshall.Marshaller
      Specified by:
      stop in interface org.infinispan.commons.marshall.StreamingMarshaller
    • isMarshallableCandidate

      protected boolean isMarshallableCandidate(Object o)
      Deprecated.
    • mediaType

      public org.infinispan.commons.dataconversion.MediaType mediaType()
      Deprecated.
      Specified by:
      mediaType in interface org.infinispan.commons.marshall.Marshaller