Interface GlassFishOutputStreamHandler

  • All Known Implementing Classes:
    EJBObjectOutputStreamHandler

    @Contract
    public interface GlassFishOutputStreamHandler
    A class to save state during Serialization. GlassFishOutputStreamHandlers are called from GlassFishObjectOutputStream
    Author:
    Mahesh Kannan
    • Method Detail

      • replaceObject

        Object replaceObject​(Object obj)
                      throws IOException
        Called from JavaEEIOUtils' replaceObject. The implementation must return the object that needs to be written out to the stream OR null if it cannot handle the serialization of this object
        Throws:
        IOException