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: 1187701 $ $Date: 2011-10-22 07:21:54 -0500 (Sat, 22 Oct 2011) $
Author:
Manfred Geiler (latest modification by $Author: bommel $)

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 © 2014 The Apache Software Foundation. All Rights Reserved.