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
ConstructorsConstructorDescriptionJsfViewFactory(org.springframework.binding.expression.Expression viewIdExpression, jakarta.faces.lifecycle.Lifecycle lifecycle) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.webflow.execution.ViewgetView(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.
-
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:
getViewin interfaceorg.springframework.webflow.execution.ViewFactory
-