Class FlowLifecycle

java.lang.Object
jakarta.faces.lifecycle.Lifecycle
org.springframework.faces.support.LifecycleWrapper
org.springframework.faces.webflow.FlowLifecycle
All Implemented Interfaces:
jakarta.faces.FacesWrapper<jakarta.faces.lifecycle.Lifecycle>

public class FlowLifecycle extends LifecycleWrapper
Custom Lifecycle for Spring Web Flow that only executes the APPLY_REQUEST_VALUES through INVOKE_APPLICATION phases.

This Lifecycle does not execute the RESTORE_VIEW phase since view creation and restoration are now handled by the JsfViewFactory.

Author:
Jeremy Grelle, Phillip Webb
  • Method Details

    • newInstance

      public static jakarta.faces.lifecycle.Lifecycle newInstance()
    • getWrapped

      public jakarta.faces.lifecycle.Lifecycle getWrapped()
      Specified by:
      getWrapped in interface jakarta.faces.FacesWrapper<jakarta.faces.lifecycle.Lifecycle>
      Specified by:
      getWrapped in class LifecycleWrapper
    • execute

      public void execute(jakarta.faces.context.FacesContext context) throws jakarta.faces.FacesException
      Executes APPLY_REQUEST_VALUES through INVOKE_APPLICATION.
      Overrides:
      execute in class LifecycleWrapper
      Throws:
      jakarta.faces.FacesException