|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Preserving
Object that can preserve their current state on exit, thus they are also
exit cleaning. In almost any case these classes will also be initializable,
to allow restoration on init, nevertheless this interface is not
extended here. The normal curse of action will be a state file, pointed
to by some key in a PropertySupplying instance, which the object
is serialized in during preserve and deserialized during restore. In this
case it may also be advisable to extend the Serializable interface.
Initializable| Method Summary | |
|---|---|
boolean |
preserve()
Preserves the current state of this parameter. |
boolean |
restore()
Restores the last state of this parameter. |
| Methods inherited from interface util.ExitCleaning |
|---|
exit |
| Method Detail |
|---|
boolean preserve()
boolean restore()
#preserve.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||