|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Reconstructable
Reconstructable objects are able to write part of their state to an OutputStream and re-establishing it from an InputStream during reconstruction.
The corresponding InputStream is usually the first argument of one of the object's constructors, which can't be enforced by an interface in the JAVA language.
| Method Summary | |
|---|---|
void |
write(OutputStream stream)
Write part of a reconstructable object's state to an OutputStream (optional operation). |
| Method Detail |
|---|
void write(OutputStream stream)
throws ServiceException
stream - OutputStream that holds part of a reconstructable object's
state.
ServiceException - if partial state streaming fails
ServiceException - NOT_SUPPORTED
if the instance is not reconstructable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||