net.sourceforge.scopes.managers.impl
Class RequestScopeManager

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

public class RequestScopeManager
extends java.lang.Object
implements ScopeManager<javax.servlet.ServletRequest>

Manages request scope.


Constructor Summary
RequestScopeManager()
           
 
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.ServletRequest request)
          Creates a request context, given the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestScopeManager

public RequestScopeManager()
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.ServletRequest>
Parameters:
scopeName - The scope name.
parameters - The map of parameters used to configure it.

createContext

public Context createContext(javax.servlet.ServletRequest request)
Creates a request context, given the request.

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