Class RestoreViewPhase


  • public class RestoreViewPhase
    extends Phase
    Lifetime And Scope

    Same lifetime and scope as DefaultLifecycleImpl.

    • Constructor Detail

      • RestoreViewPhase

        public RestoreViewPhase()
    • Method Detail

      • 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