Package jakarta.faces.context
Class FacesContextFactory
java.lang.Object
jakarta.faces.context.FacesContextFactory
- All Implemented Interfaces:
FacesWrapper<FacesContextFactory>
public abstract class FacesContextFactory
extends Object
implements FacesWrapper<FacesContextFactory>
see Javadoc of Faces Specification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract FacesContext
getFacesContext
(Object context, Object request, Object response, Lifecycle lifecycle) If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
-
Constructor Details
-
FacesContextFactory
Deprecated. -
FacesContextFactory
-
-
Method Details
-
getFacesContext
public abstract FacesContext getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle) throws FacesException - Throws:
FacesException
-
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 returnsnull
.- Specified by:
getWrapped
in interfaceFacesWrapper<FacesContextFactory>
- Returns:
- the decorated
FacesContextFactory
if this factory decorates another, ornull
otherwise - Since:
- 2.0
-