com.sun.enterprise.container.common.spi.util
Interface GlassFishOutputStreamHandler


@Contract
public interface GlassFishOutputStreamHandler

A class to save state during Serialization. GlassFishOutputStreamHandlers are called from GlassFishObjectOutputStream

Author:
Mahesh Kannan

Method Summary
 Object replaceObject(Object obj)
          Called from JavaEEIOUtils' replaceObject.
 

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


Copyright © 2012. All Rights Reserved.