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
ConstructorsConstructorDescriptionOSGiObjectInputOutputStreamFactoryImpl(org.osgi.framework.BundleContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionvoidannotateClass(ObjectOutputStream out, Class<?> cl) Class<?> resolveClass(ObjectInputStream in, ObjectStreamClass desc)
-
Constructor Details
-
OSGiObjectInputOutputStreamFactoryImpl
public OSGiObjectInputOutputStreamFactoryImpl(org.osgi.framework.BundleContext ctx)
-
-
Method Details
-
createObjectInputStream
- Specified by:
createObjectInputStreamin interfaceObjectInputOutputStreamFactory- Throws:
IOException
-
createObjectOutputStream
- Specified by:
createObjectOutputStreamin interfaceObjectInputOutputStreamFactory- Throws:
IOException
-
resolveClass
public Class<?> resolveClass(ObjectInputStream in, ObjectStreamClass desc) throws IOException, ClassNotFoundException - Specified by:
resolveClassin interfaceObjectInputOutputStreamFactory- Throws:
IOExceptionClassNotFoundException
-
annotateClass
- Specified by:
annotateClassin interfaceObjectInputOutputStreamFactory- Throws:
IOException
-