java.lang.Objectjavax.faces.lifecycle.Lifecycle
Lifecycle manages the processing of the entire lifecycle of a particular JavaServer Faces request. It is responsible for executing all of the phases that have been defined by the JavaServer Faces Specification, in the specified order, unless otherwise directed by activities that occurred during the execution of each phase.
An instance of Lifecycle
is created by calling the
getLifecycle()
method of LifecycleFactory , for
a specified lifecycle identifier. Because this instance is
shared across multiple simultaneous requests, it must be implemented
in a thread-safe manner.
Method from javax.faces.lifecycle.Lifecycle Summary: |
---|
addPhaseListener, execute, getPhaseListeners, removePhaseListener, render |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from javax.faces.lifecycle.Lifecycle Detail: |
---|
Register a new PhaseListener instance that is interested in being notified before and after the processing for standard phases of the request processing lifecycle. |
Execute all of the phases of the request processing lifecycle,
up to but not including the Render Response phase,
as described in the JavaServer Faces Specification, in the specified
order. The processing flow can be affected (by the application,
by components, or by event listeners) by calls to the
|
Return the set of registered PhaseListener s for this Lifecycle instance. If there are no registered listeners, a zero-length array is returned. |
Deregister an existing PhaseListener instance that is no longer interested in being notified before and after the processing for standard phases of the request processing lifecycle. If no such listener instance has been registered, no action is taken. |
Execute the Render Response phase of the request
processing lifecycle, unless the |