Home » Mojarra-2.0.1 » javax » faces » context » [javadoc | source]
abstract public class: ExternalContextFactory [javadoc | source]

All Implemented Interfaces:

ExternalContextFactory is a factory object that creates (if needed) and returns new ExternalContext instances, initialized for the processing of the specified request and response objects.

There must be one ExternalContextFactory instance per web application that is utilizing JavaServer Faces. This instance can be acquired, in a portable manner, by calling:

  ExternalContextFactory factory = (ExternalContextFactory)
Method from javax.faces.context.ExternalContextFactory Summary:
getExternalContext,   getWrapped
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.faces.context.ExternalContextFactory Detail:
 abstract public ExternalContext getExternalContext(Object context,
    Object request,
    Object response) throws FacesException

    Create (if needed) and return an ExternalContext instance that is initialized for the processing of the specified request and response objects, for this web application.

 public ExternalContextFactory getWrapped() 

    If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.