Home » commons-chain-1.2-src » org.apache.commons » chain » web » faces » [javadoc | source]
org.apache.commons.chain.web.faces
public class: FacesWebContext [javadoc | source]
java.lang.Object
   java.util.AbstractMap
      java.util.HashMap
         org.apache.commons.chain.impl.ContextBase
            org.apache.commons.chain.web.WebContext
               org.apache.commons.chain.web.faces.FacesWebContext

All Implemented Interfaces:
    Context, Map, Serializable, Cloneable

Concrete implementation of WebContext suitable for use in JavaServer Faces apps. The abstract methods are mapped to the appropriate collections of the underlying FacesContext instance that is passed to the constructor (or the initialize method).

Constructor:
 public FacesWebContext() 
 public FacesWebContext(FacesContext context) 

    Construct a FacesWebContext instance that is initialized with the specified JavaServer Faces API objects.

    Parameters:
    context - The FacesContext for this request
Method from org.apache.commons.chain.web.faces.FacesWebContext Summary:
getApplicationScope,   getContext,   getCookies,   getHeader,   getHeaderValues,   getInitParam,   getParam,   getParamValues,   getRequestScope,   getSessionScope,   initialize,   release
Methods from org.apache.commons.chain.web.WebContext:
getApplicationScope,   getCookies,   getHeader,   getHeaderValues,   getInitParam,   getParam,   getParamValues,   getRequestScope,   getSessionScope
Methods from org.apache.commons.chain.impl.ContextBase:
clear,   containsValue,   entrySet,   get,   isEmpty,   keySet,   put,   putAll,   remove,   values
Methods from java.util.HashMap:
clear,   clone,   containsKey,   containsValue,   entrySet,   get,   isEmpty,   keySet,   put,   putAll,   remove,   size,   values
Methods from java.util.AbstractMap:
clear,   containsKey,   containsValue,   entrySet,   equals,   get,   hashCode,   isEmpty,   keySet,   put,   putAll,   remove,   size,   toString,   values
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.chain.web.faces.FacesWebContext Detail:
 public Map getApplicationScope() 
 public FacesContext getContext() 

    Return the FacesContext instance for the request associated with this FacesWebContext .

 public Map getCookies() 
 public Map getHeader() 
 public Map getHeaderValues() 
 public Map getInitParam() 
 public Map getParam() 
 public Map getParamValues() 
 public Map getRequestScope() 
 public Map getSessionScope() 
 public  void initialize(FacesContext context) 

    Initialize (or reinitialize) this FacesWebContext instance for the specified JavaServer Faces API objects.

 public  void release() 

    Release references to allocated resources acquired in initialize() of via subsequent processing. After this method is called, subsequent calls to any other method than initialize() will return undefined results.