Class JsfViewFactory

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

public class JsfViewFactory extends Object implements org.springframework.webflow.execution.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 Summary

    Constructors
    Constructor
    Description
    JsfViewFactory(org.springframework.binding.expression.Expression viewIdExpression, jakarta.faces.lifecycle.Lifecycle lifecycle)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.webflow.execution.View
    getView(org.springframework.webflow.execution.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JsfViewFactory

      public JsfViewFactory(org.springframework.binding.expression.Expression viewIdExpression, jakarta.faces.lifecycle.Lifecycle lifecycle)
  • Method Details

    • getView

      public org.springframework.webflow.execution.View getView(org.springframework.webflow.execution.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 org.springframework.webflow.execution.ViewFactory