|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationStateManager
Method Summary | |
---|---|
boolean |
exists(String objectName)
Checks to see if the named object exists. |
void |
flush()
Asks each StateObjectManager to store each object obtained. |
Object |
get(String objectName)
Gets the named application state object, creating it if necessary. |
void |
store(String objectName,
Object stateObject)
Stores a new state object, replacing the old one. |
Method Detail |
---|
boolean exists(String objectName)
objectName
- the name of the application state object
org.apache.hivemind.ApplicationRuntimeException
- If no such object is declaredObject get(String objectName)
objectName
- the name of the application state object
org.apache.hivemind.ApplicationRuntimeException
- if no such object is declaredvoid store(String objectName, Object stateObject)
objectName
- the name of the object to storestateObject
- the new object, possibly null
org.apache.hivemind.ApplicationRuntimeException
- if no such object is declaredvoid flush()
StateObjectManager
to store each object obtained.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |