Class RestoreViewPhase

java.lang.Object
com.sun.faces.lifecycle.Phase
com.sun.faces.lifecycle.RestoreViewPhase

public class RestoreViewPhase extends Phase
Lifetime And Scope

Same lifetime and scope as DefaultLifecycleImpl.

  • Constructor Details

    • RestoreViewPhase

      public RestoreViewPhase()
  • Method Details

    • getId

      public PhaseId getId()
      Specified by:
      getId in class Phase
      Returns:
      the current Lifecycle Phase identifier.
    • doPhase

      public void doPhase(FacesContext context, Lifecycle lifecycle, ListIterator<PhaseListener> listeners)
      Description copied from class: Phase
      Performs PhaseListener processing and invokes the execute method of the Phase.
      Overrides:
      doPhase in class Phase
      Parameters:
      context - the FacesContext for the current request
      lifecycle - the lifecycle for this request
    • execute

      public void execute(FacesContext facesContext) throws FacesException
      PRECONDITION: the necessary factories have been installed in the ServletContext attr set.

      POSTCONDITION: The facesContext has been initialized with a tree.

      Specified by:
      execute in class Phase
      Parameters:
      facesContext - FacesContext for the current request being processed
      Throws:
      FacesException - if a processing error occurred while executing this phase