|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.engine.state.ApplicationStateManagerImpl
This implementation expects to be pooled.
Constructor Summary | |
ApplicationStateManagerImpl()
|
Method Summary | |
void |
activateService()
|
boolean |
exists(java.lang.String objectName)
Checks to see if the named object exists. |
void |
flush()
Asks each StateObjectManager to store each object obtained. |
java.lang.Object |
get(java.lang.String objectName)
Gets the named application state object, creating it if necessary. |
void |
passivateService()
|
void |
setRegistry(StateObjectManagerRegistry registry)
|
void |
store(java.lang.String objectName,
java.lang.Object stateObject)
Stores a new state object, replacing the old one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ApplicationStateManagerImpl()
Method Detail |
public void activateService()
activateService
in interface org.apache.hivemind.PoolManageable
public void passivateService()
passivateService
in interface org.apache.hivemind.PoolManageable
public boolean exists(java.lang.String objectName)
ApplicationStateManager
exists
in interface ApplicationStateManager
objectName
- the name of the application state objectpublic java.lang.Object get(java.lang.String objectName)
ApplicationStateManager
get
in interface ApplicationStateManager
objectName
- the name of the application state object
public void store(java.lang.String objectName, java.lang.Object stateObject)
ApplicationStateManager
store
in interface ApplicationStateManager
objectName
- the name of the object to storestateObject
- the new object, possibly nullpublic void flush()
ApplicationStateManager
StateObjectManager
to store each object obtained.
flush
in interface ApplicationStateManager
public void setRegistry(StateObjectManagerRegistry registry)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |