|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface J2EEObjectStreamFactory
A Factory interface for creating an Object{Input | Output}Stream that allows serialization / de-serialization of "standard" J2EE Objects like EJBLocalObject, JNDIContext, UserTransaction etc.
| Method Summary | |
|---|---|
ObjectInputStream |
createObjectInputStream(InputStream is,
boolean resolveObject,
ClassLoader appClassLoader)
Obtain an ObjectInputStream that allows de-serialization of a graph of objects. |
ObjectOutputStream |
createObjectOutputStream(OutputStream os,
boolean replaceObject)
Obtain an ObjectOutputStream that allows serialization of a graph of objects. |
| Method Detail |
|---|
ObjectOutputStream createObjectOutputStream(OutputStream os,
boolean replaceObject)
throws IOException
IOException - when the serialziation fails
ObjectInputStream createObjectInputStream(InputStream is,
boolean resolveObject,
ClassLoader appClassLoader)
throws Exception
IOException - when the de-serialziation fails
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||