Package org.glassfish.common.util
Class OSGiObjectInputOutputStreamFactoryImpl
- java.lang.Object
-
- org.glassfish.common.util.OSGiObjectInputOutputStreamFactoryImpl
-
- All Implemented Interfaces:
ObjectInputOutputStreamFactory
public class OSGiObjectInputOutputStreamFactoryImpl extends Object implements ObjectInputOutputStreamFactory
- Author:
- Sanjeeb.Sahoo@Sun.COM
-
-
Constructor Summary
Constructors Constructor Description OSGiObjectInputOutputStreamFactoryImpl(org.osgi.framework.BundleContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidannotateClass(ObjectOutputStream out, Class<?> cl)ObjectInputStreamcreateObjectInputStream(InputStream in)ObjectOutputStreamcreateObjectOutputStream(OutputStream out)Class<?>resolveClass(ObjectInputStream in, ObjectStreamClass desc)
-
-
-
Method Detail
-
createObjectInputStream
public ObjectInputStream createObjectInputStream(InputStream in) throws IOException
- Specified by:
createObjectInputStreamin interfaceObjectInputOutputStreamFactory- Throws:
IOException
-
createObjectOutputStream
public ObjectOutputStream createObjectOutputStream(OutputStream out) throws IOException
- Specified by:
createObjectOutputStreamin interfaceObjectInputOutputStreamFactory- Throws:
IOException
-
resolveClass
public Class<?> resolveClass(ObjectInputStream in, ObjectStreamClass desc) throws IOException, ClassNotFoundException
- Specified by:
resolveClassin interfaceObjectInputOutputStreamFactory- Throws:
IOExceptionClassNotFoundException
-
annotateClass
public void annotateClass(ObjectOutputStream out, Class<?> cl) throws IOException
- Specified by:
annotateClassin interfaceObjectInputOutputStreamFactory- Throws:
IOException
-
-