Class JsfViewFactory
java.lang.Object
org.springframework.faces.webflow.JsfViewFactory
- All Implemented Interfaces:
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
ConstructorDescriptionJsfViewFactory
(Expression viewIdExpression, jakarta.faces.lifecycle.Lifecycle lifecycle) -
Method Summary
Modifier and TypeMethodDescriptiongetView
(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
-
-
Method Details
-
getView
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 interfaceViewFactory
- Parameters:
context
- the flow execution request context.- Returns:
- the view to render
-