Name
Lifecycle
Synopsis
An instance of a subclass of this abstract class manages the request processing lifecycle.
Synopsis
Class name: |
javax.faces.lifecycle.Lifecycle |
Extends: |
None |
Implements: |
None |
Constructors
-
public Lifecycle()
Creates an instance.
Methods
-
public abstract void addPhaseListener(javax.faces.event.PhaseListener listener)
Adds the
PhaseListener
to the list of listeners for thePhaseEvent
this instance fires.-
public abstract void execute(javax.faces.context.FacesContext context)
Executes all lifecycle phases up to but not including the Render Response phase, by invoking the phase processing methods on the root component as described in Appendix B.
-
public abstract javax.faces.event.PhaseListener[] getPhaseListeners()
Returns all
PhaseListener
instances registered with this instance or an empty array if none is registered.-
public abstract void removePhaseListener(javax.faces.event.PhaseListener l)
Removes the
PhaseListener
from the list of listeners for thePhaseEvent
this instance fires.-
public abstract void render(javax.faces.context.FacesContext context)
Executes the Render Response lifecycle, unless the
responseComplete()
method has been called on the providedFacesContext
.
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.