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


@Contract
public interface GlassFishInputStreamHandler

A class that is used to restore state during deserialization

Author:
Mahesh Kannan

Field Summary
static Object NULL_OBJECT
           
 
Method Summary
 Object resolveObject(Object obj)
          Called from JavaEEIOUtils' replaceObject.
 

Field Detail

NULL_OBJECT

static final Object NULL_OBJECT
Method Detail

resolveObject

Object resolveObject(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.