|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface defining all methods required by a (de)serialize adapter.
| Method Summary | |
void |
handleClassLoaderChange(java.lang.ClassLoader classLoader)
Signals a change of the ContextClassLoader of the current thread to the adapter. |
java.lang.Object |
read(java.io.InputStream in)
Deserializes an object out of an given InputStream |
void |
write(java.lang.Object obj,
java.io.OutputStream out)
Serializes an object into an output stream |
| Method Detail |
public java.lang.Object read(java.io.InputStream in)
throws java.io.IOException
in - the input stream to use for deserialization
java.io.IOException
public void write(java.lang.Object obj,
java.io.OutputStream out)
throws java.io.IOException
obj - object that should get serializedout - the outputstream into which the object should serialized
java.io.IOExceptionpublic void handleClassLoaderChange(java.lang.ClassLoader classLoader)
classLoader -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||