com.sun.enterprise.naming.util
Class NonOSGiObjectInputOutputStreamFactoryImpl

java.lang.Object
  extended by com.sun.enterprise.naming.util.NonOSGiObjectInputOutputStreamFactoryImpl
All Implemented Interfaces:
ObjectInputOutputStreamFactory

public class NonOSGiObjectInputOutputStreamFactoryImpl
extends Object
implements ObjectInputOutputStreamFactory

Author:
Sanjeeb.Sahoo@Sun.COM

Constructor Summary
NonOSGiObjectInputOutputStreamFactoryImpl()
           
 
Method Summary
 void annotateClass(ObjectOutputStream out, Class<?> cl)
           
 ObjectInputStream createObjectInputStream(InputStream in)
           
 ObjectOutputStream createObjectOutputStream(OutputStream out)
           
 Class<?> resolveClass(ObjectInputStream in, ObjectStreamClass desc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonOSGiObjectInputOutputStreamFactoryImpl

public NonOSGiObjectInputOutputStreamFactoryImpl()
Method Detail

createObjectInputStream

public ObjectInputStream createObjectInputStream(InputStream in)
                                          throws IOException
Specified by:
createObjectInputStream in interface ObjectInputOutputStreamFactory
Throws:
IOException

createObjectOutputStream

public ObjectOutputStream createObjectOutputStream(OutputStream out)
                                            throws IOException
Specified by:
createObjectOutputStream in interface ObjectInputOutputStreamFactory
Throws:
IOException

resolveClass

public Class<?> resolveClass(ObjectInputStream in,
                             ObjectStreamClass desc)
                      throws IOException,
                             ClassNotFoundException
Specified by:
resolveClass in interface ObjectInputOutputStreamFactory
Throws:
IOException
ClassNotFoundException

annotateClass

public void annotateClass(ObjectOutputStream out,
                          Class<?> cl)
                   throws IOException
Specified by:
annotateClass in interface ObjectInputOutputStreamFactory
Throws:
IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.