Package org.glassfish.common.util
Class NonOSGiObjectInputOutputStreamFactoryImpl
- java.lang.Object
-
- org.glassfish.common.util.NonOSGiObjectInputOutputStreamFactoryImpl
-
- All Implemented Interfaces:
ObjectInputOutputStreamFactory
public class NonOSGiObjectInputOutputStreamFactoryImpl extends Object implements ObjectInputOutputStreamFactory
- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description NonOSGiObjectInputOutputStreamFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
annotateClass(ObjectOutputStream out, Class<?> cl)
ObjectInputStream
createObjectInputStream(InputStream in)
ObjectOutputStream
createObjectOutputStream(OutputStream out)
Class<?>
resolveClass(ObjectInputStream in, ObjectStreamClass desc)
-
-
-
Method Detail
-
createObjectInputStream
public ObjectInputStream createObjectInputStream(InputStream in) throws IOException
- Specified by:
createObjectInputStream
in interfaceObjectInputOutputStreamFactory
- Throws:
IOException
-
createObjectOutputStream
public ObjectOutputStream createObjectOutputStream(OutputStream out) throws IOException
- Specified by:
createObjectOutputStream
in interfaceObjectInputOutputStreamFactory
- Throws:
IOException
-
resolveClass
public Class<?> resolveClass(ObjectInputStream in, ObjectStreamClass desc) throws IOException, ClassNotFoundException
- Specified by:
resolveClass
in interfaceObjectInputOutputStreamFactory
- Throws:
IOException
ClassNotFoundException
-
annotateClass
public void annotateClass(ObjectOutputStream out, Class<?> cl) throws IOException
- Specified by:
annotateClass
in interfaceObjectInputOutputStreamFactory
- Throws:
IOException
-
-