Name

LifecycleFactory

Synopsis

An instance of a subclass of this abstract class is a factory for a Lifecycle instance for a request.

Synopsis

Class name:

javax.faces.lifecycle.LifecycleFactory

Extends:

None

Implements:

None

Fields

public static final String DEFAULT_LIFE_CYCLE

The default lifecycle identifier: DEFAULT.

Constructors

public LifecycleFactory()

Creates an instance.

Methods

public abstract void addLifecycle(String lifecycleId, javax.faces.lifecycle.Lifecycle lifecycle)

Adds the provided Lifecycle instance mapped to the specified ID.

public abstract javax.faces.lifecycle.Lifecycle getLifecycle(String lifecycleId)

Returns a Lifecycle instance for the specified lifecycle ID.

public abstract java.util.Iterator getLifecycleIds()

Returns an Iterator over the IDs for all available Lifecycle instances.

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.