net.sourceforge.scopes.window
Class WindowScopeManager

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

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

Manages the window scope. At last!


Constructor Summary
WindowScopeManager()
           
 
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 context bound to window scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowScopeManager

public WindowScopeManager()
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 context bound to window scope.

Specified by:
createContext in interface ScopeManager<javax.servlet.http.HttpServletRequest>
Parameters:
request - The request object to use.
Returns:
A context bound to the window.