Class 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 Detail

      • log

        protected static final org.infinispan.commons.logging.Log log
        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.
    • Constructor Detail

      • AbstractJBossMarshaller

        public AbstractJBossMarshaller()
        Deprecated.
    • Method Detail

      • 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
      • startObjectInput

        public final ObjectInput startObjectInput​(InputStream is,
                                                  boolean isReentrant)
                                           throws IOException
        Deprecated.
        Specified by:
        startObjectInput in interface org.infinispan.commons.marshall.StreamingMarshaller
        Throws:
        IOException
      • 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