net.sourceforge.scopes.managers.impl
Class SessionScopeManager

java.lang.Object
  extended by net.sourceforge.scopes.managers.impl.SessionScopeManager
All Implemented Interfaces:
ScopeManager<javax.servlet.http.HttpServletRequest>

public class SessionScopeManager
extends java.lang.Object
implements ScopeManager<javax.servlet.http.HttpServletRequest>

Manages session scope.


Constructor Summary
SessionScopeManager()
           
 
Method Summary
 void configure(java.lang.String scopeName, java.util.Map<java.lang.String,java.lang.Object> parameters)
          Configures the scope manager before its real use.
 Context createContext(javax.servlet.http.HttpServletRequest request)
          Creates a session context, given the request.
 
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

configure

public void configure(java.lang.String scopeName,
                      java.util.Map<java.lang.String,java.lang.Object> parameters)
Description copied from interface: ScopeManager
Configures the scope manager before its real use.

Specified by:
configure in interface ScopeManager<javax.servlet.http.HttpServletRequest>
Parameters:
scopeName - The scope name.
parameters - The map of parameters used to configure it.

createContext

public Context createContext(javax.servlet.http.HttpServletRequest request)
Creates a session context, given the request.

Specified by:
createContext in interface ScopeManager<javax.servlet.http.HttpServletRequest>
Parameters:
request - The request to use.
Returns:
The created context.