Package org.glassfish.common.util
Interface ObjectInputOutputStreamFactory
-
- All Known Implementing Classes:
NonOSGiObjectInputOutputStreamFactoryImpl,OSGiObjectInputOutputStreamFactoryImpl
public interface ObjectInputOutputStreamFactory- Author:
- Sanjeeb.Sahoo@Sun.COM
-
-
Method Summary
All Methods Instance Methods Abstract 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
ObjectInputStream createObjectInputStream(InputStream in) throws IOException
- Throws:
IOException
-
createObjectOutputStream
ObjectOutputStream createObjectOutputStream(OutputStream out) throws IOException
- Throws:
IOException
-
resolveClass
Class<?> resolveClass(ObjectInputStream in, ObjectStreamClass desc) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
annotateClass
void annotateClass(ObjectOutputStream out, Class<?> cl) throws IOException
- Throws:
IOException
-
-