com.sun.enterprise.naming.util
Interface ObjectInputOutputStreamFactory

All Known Implementing Classes:
NonOSGiObjectInputOutputStreamFactoryImpl, OSGiObjectInputOutputStreamFactoryImpl

public interface ObjectInputOutputStreamFactory

Author:
Sanjeeb.Sahoo@Sun.COM

Method Summary
 void annotateClass(ObjectOutputStream out, Class<?> cl)
           
 ObjectInputStream createObjectInputStream(InputStream in)
           
 ObjectOutputStream createObjectOutputStream(OutputStream out)
           
 Class<?> resolveClass(ObjectInputStream in, ObjectStreamClass desc)
           
 

Method Detail

createObjectInputStream

ObjectInputStream createObjectInputStream(InputStream in)
                                          throws IOException
Throws:
IOException

createObjectOutputStream

ObjectOutputStream createObjectOutputStream(OutputStream out)
                                            throws IOException
Throws:
IOException

resolveClass

Class<?> resolveClass(ObjectInputStream in,
                      ObjectStreamClass desc)
                      throws IOException,
                             ClassNotFoundException
Throws:
IOException
ClassNotFoundException

annotateClass

void annotateClass(ObjectOutputStream out,
                   Class<?> cl)
                   throws IOException
Throws:
IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.