|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.engine.state.ApplicationStateManagerImpl
public class ApplicationStateManagerImpl
This implementation expects to be pooled.
| Constructor Summary | |
|---|---|
ApplicationStateManagerImpl()
|
|
| Method Summary | |
|---|---|
void |
activateService()
|
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 |
passivateService()
|
void |
setRegistry(StateObjectManagerRegistry registry)
|
void |
store(String objectName,
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.PoolManageablepublic void passivateService()
passivateService in interface org.apache.hivemind.PoolManageablepublic boolean exists(String objectName)
ApplicationStateManager
exists in interface ApplicationStateManagerobjectName - the name of the application state object
public Object get(String objectName)
ApplicationStateManager
get in interface ApplicationStateManagerobjectName - the name of the application state object
public void store(String objectName,
Object stateObject)
ApplicationStateManager
store in interface ApplicationStateManagerobjectName - the name of the object to storestateObject - the new object, possibly nullpublic void flush()
ApplicationStateManagerStateObjectManager to store each object obtained.
flush in interface ApplicationStateManagerpublic void setRegistry(StateObjectManagerRegistry registry)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||