Name

FacesContextFactory

Synopsis

An instance of a subclass of this abstract class is a factory for the FacesContext instance for a request. An implementation may use a pool of context instances and recycle them for new requests.

Synopsis

Class name:

javax.faces.context.FacesContextFactory

Extends:

None

Implements:

None

Constructors

public FacesContextFactory()

Creates an instance.

Methods

public abstract javax.faces.application.Application getFacesContext(Object context, Object request, Object response, javax.faces.lifecycle.Lifecycle lifecycle)

Returns a FacesContext instance for handling a request, initialized with all the provided references.

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.