org.apache.tapestry.engine.state
Class SessionScopeManager

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

public class SessionScopeManager
extends Object
implements StateObjectPersistenceManager

Manager for the 'session' scope; state objects are stored as HttpSession attributes. The HttpSession is created as necessary.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
SessionScopeManager()
           
 
Method Summary
 boolean exists(String objectName)
           
 Object get(String objectName, StateObjectFactory factory)
           
 void setApplicationId(String applicationName)
           
 void setRequest(WebRequest request)
           
 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

SessionScopeManager

public SessionScopeManager()
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

setApplicationId

public void setApplicationId(String applicationName)

setRequest

public void setRequest(WebRequest request)


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