Class JsfViewFactory

java.lang.Object
org.springframework.faces.webflow.JsfViewFactory
All Implemented Interfaces:
ViewFactory

public class JsfViewFactory extends Object implements ViewFactory
JSF-specific ViewFactory implementation.

This factory is responsible for performing the duties of the RESTORE_VIEW phase of the JSF lifecycle.

Author:
Jeremy Grelle, Phillip Webb
  • Constructor Details

    • JsfViewFactory

      public JsfViewFactory(Expression viewIdExpression, jakarta.faces.lifecycle.Lifecycle lifecycle)
  • Method Details

    • getView

      public View getView(RequestContext context)
      Executes the RESTORE_VIEW phase of the JSF lifecycle at the beginning of a request, and creates the next view to be rendered in the case of an executing transition.
      Specified by:
      getView in interface ViewFactory
      Parameters:
      context - the flow execution request context.
      Returns:
      the view to render