org.apache.tapestry.engine.state
Class ApplicationScopeManager

java.lang.Object
  extended by org.apache.tapestry.engine.state.ApplicationScopeManager
All Implemented Interfaces:
StateObjectPersistenceManager

public class ApplicationScopeManager
extends 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

Constructor Summary
ApplicationScopeManager()
           
 
Method Summary
 boolean exists(String objectName)
           
 Object get(String objectName, StateObjectFactory factory)
           
 void store(String objectName, Object stateObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationScopeManager

public ApplicationScopeManager()
Method Detail

exists

public boolean exists(String objectName)
Specified by:
exists in interface StateObjectPersistenceManager

get

public Object get(String objectName,
                  StateObjectFactory factory)
Specified by:
get in interface StateObjectPersistenceManager

store

public void store(String objectName,
                  Object stateObject)
Specified by:
store in interface StateObjectPersistenceManager


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.