|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by objects that wish to be stored in the Context Store.
Field Summary | |
---|---|
static java.lang.String |
$sccsid
|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
boolean |
isContextPersistent()
Returns an indication of whether this context needs to be persisted. |
void |
read(java.io.InputStream in)
Reads the context from the given stream. |
void |
write(java.io.OutputStream out)
Writes the context to the given stream. |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String $sccsid
Method Detail |
public void read(java.io.InputStream in) throws java.io.IOException
Only invoked if the context is to be persisted.
in
- The input stream.
java.io.IOException
- An error occurred reading from the stream.public void write(java.io.OutputStream out) throws java.io.IOException
Only invoked if the context is to be persisted.
out
-
java.io.IOException
- An error occurred writing to the stream.public boolean isContextPersistent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |