|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationStateProvider
An ApplicationStateProvider
knows how to save and restore
state in the running application.
Thread Safety: Implementations of this interface should not assume
they are invoked on any particular thread, and must take steps to ensure
thread safety. However, serialization in ApplicationStateManager
ensures that the saveState(HashStructure)
and restoreState(HashStructure)
methods will always be serialized.
Method Summary | |
---|---|
void |
restoreState(HashStructure data)
Requests that the provider restore state from data in the data
hash structure. |
void |
saveState(HashStructure data)
Requests that the provider save state in the data
hash structure. |
Method Detail |
---|
void saveState(HashStructure data)
data
hash structure.
Changes made to the data
hash structure after this method call
returns will not have any effect on the saved state.
data
- the hash structure in which to store state. This will never be
null
.void restoreState(HashStructure data)
data
hash structure.
The data
hash structure should be considered immutable. Writing
to the structure will result in an UnsupportedOperationException
.
data
- the hash structure from which to read state. This will never
be null
.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |