Spring Web Flow

org.springframework.faces.webflow
Class JsfViewFactory

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

public class JsfViewFactory
extends java.lang.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 Summary
JsfViewFactory(Expression viewIdExpression, javax.faces.lifecycle.Lifecycle lifecycle)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsfViewFactory

public JsfViewFactory(Expression viewIdExpression,
                      javax.faces.lifecycle.Lifecycle lifecycle)
Method Detail

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

Spring Web Flow