Interface GlassFishOutputStreamHandler


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

    Modifier and Type
    Method
    Description
    Called from JavaEEIOUtils' replaceObject.
  • Method Details

    • 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