javax.faces.context
Class FacesContextFactory

java.lang.Object
  extended by javax.faces.context.FacesContextFactory
All Implemented Interfaces:
FacesWrapper<FacesContextFactory>

public abstract class FacesContextFactory
extends Object
implements FacesWrapper<FacesContextFactory>

see Javadoc of JSF Specification

Version:
$Revision: 761981 $ $Date: 2009-04-04 13:44:14 -0500 (Sat, 04 Apr 2009) $
Author:
Manfred Geiler (latest modification by $Author: slessard $)

Constructor Summary
FacesContextFactory()
           
 
Method Summary
abstract  FacesContext getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)
           
 FacesContextFactory getWrapped()
          If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesContextFactory

public FacesContextFactory()
Method Detail

getFacesContext

public abstract FacesContext getFacesContext(Object context,
                                             Object request,
                                             Object response,
                                             Lifecycle lifecycle)
                                      throws FacesException
Throws:
FacesException

getWrapped

public FacesContextFactory 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.

Specified by:
getWrapped in interface FacesWrapper<FacesContextFactory>
Returns:
the decorated FacesContextFactory if this factory decorates another, or null otherwise
Since:
2.0


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.