com.sun.enterprise.naming.util
Class OSGiObjectInputOutputStreamFactoryImpl

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

public class OSGiObjectInputOutputStreamFactoryImpl
extends java.lang.Object
implements ObjectInputOutputStreamFactory

Author:
Sanjeeb.Sahoo@Sun.COM

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

Constructor Detail

OSGiObjectInputOutputStreamFactoryImpl

public OSGiObjectInputOutputStreamFactoryImpl(org.osgi.framework.BundleContext ctx)
Method Detail

createObjectInputStream

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

createObjectOutputStream

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

resolveClass

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

annotateClass

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


Copyright © 2012 GlassFish Community. All Rights Reserved.