org.apache.tapestry.engine.state
Class ApplicationScopeManager
java.lang.Object
org.apache.tapestry.engine.state.ApplicationScopeManager
- All Implemented Interfaces:
- StateObjectPersistenceManager
- public class ApplicationScopeManager
- extends java.lang.Object
- implements StateObjectPersistenceManager
The application scope is for objects that are global to all users and all sessions.
Traditionally, that's stored in the servlet context, but there's no advantage to doing that over
just using a Map.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
Method Summary |
boolean |
exists(java.lang.String objectName)
|
java.lang.Object |
get(java.lang.String objectName,
StateObjectFactory factory)
|
void |
store(java.lang.String objectName,
java.lang.Object stateObject)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationScopeManager
public ApplicationScopeManager()
exists
public boolean exists(java.lang.String objectName)
- Specified by:
exists
in interface StateObjectPersistenceManager
get
public java.lang.Object get(java.lang.String objectName,
StateObjectFactory factory)
- Specified by:
get
in interface StateObjectPersistenceManager
store
public void store(java.lang.String objectName,
java.lang.Object stateObject)
- Specified by:
store
in interface StateObjectPersistenceManager