Class EJBObjectOutputStreamHandler

  • All Implemented Interfaces:
    com.sun.enterprise.container.common.spi.util.GlassFishOutputStreamHandler

    public class EJBObjectOutputStreamHandler
    extends Object
    implements com.sun.enterprise.container.common.spi.util.GlassFishOutputStreamHandler
    A class that is used to passivate SFSB conversational state
    Author:
    Mahesh Kannan
    • Field Detail

      • _ejbLogger

        protected static final Logger _ejbLogger
    • Constructor Detail

      • EJBObjectOutputStreamHandler

        public EJBObjectOutputStreamHandler()
    • Method Detail

      • setJavaEEIOUtils

        public static final void setJavaEEIOUtils​(com.sun.enterprise.container.common.spi.util.JavaEEIOUtils javaEEIOUtils)
      • replaceObject

        public Object replaceObject​(Object obj)
                             throws IOException
        This code is needed to serialize non-Serializable objects that can be part of a bean's state. See EJB2.0 section 7.4.1.
        Specified by:
        replaceObject in interface com.sun.enterprise.container.common.spi.util.GlassFishOutputStreamHandler
        Throws:
        IOException