Spring Web Flow

org.springframework.faces.webflow
Class FlowLifecycle

java.lang.Object
  extended by javax.faces.lifecycle.Lifecycle
      extended by org.springframework.faces.support.LifecycleWrapper
          extended by org.springframework.faces.webflow.FlowLifecycle
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.lifecycle.Lifecycle>

public class FlowLifecycle
extends LifecycleWrapper

Custom Lifecycle for Spring Web Flow that only executes the APPLY_REQUEST_VALUES through INVOKE_APPLICATION phases.

This Lifecycle does not execute the RESTORE_VIEW phase since view creation and restoration are now handled by the JsfViewFactory.

Author:
Jeremy Grelle, Phillip Webb

Method Summary
 void execute(javax.faces.context.FacesContext context)
          Executes APPLY_REQUEST_VALUES through INVOKE_APPLICATION.
 javax.faces.lifecycle.Lifecycle getWrapped()
           
static javax.faces.lifecycle.Lifecycle newInstance()
           
 
Methods inherited from class org.springframework.faces.support.LifecycleWrapper
addPhaseListener, getPhaseListeners, removePhaseListener, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static javax.faces.lifecycle.Lifecycle newInstance()

getWrapped

public javax.faces.lifecycle.Lifecycle getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.lifecycle.Lifecycle>
Specified by:
getWrapped in class LifecycleWrapper

execute

public void execute(javax.faces.context.FacesContext context)
             throws javax.faces.FacesException
Executes APPLY_REQUEST_VALUES through INVOKE_APPLICATION.

Overrides:
execute in class LifecycleWrapper
Throws:
javax.faces.FacesException

Spring Web Flow