Package org.glassfish.common.util
Interface ObjectInputOutputStreamFactory
-
- All Known Implementing Classes:
NonOSGiObjectInputOutputStreamFactoryImpl
,OSGiObjectInputOutputStreamFactoryImpl
public interface ObjectInputOutputStreamFactory
- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract 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
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:
IOException
ClassNotFoundException
-
annotateClass
void annotateClass(ObjectOutputStream out, Class<?> cl) throws IOException
- Throws:
IOException
-
-