Spring Web Flow

org.springframework.faces.webflow
Class JsfUtils

java.lang.Object
  extended by org.springframework.faces.webflow.JsfUtils

public class JsfUtils
extends java.lang.Object

Common support for the JSF integration with Spring Web Flow.

Author:
Jeremy Grelle, Phillip Webb

Constructor Summary
JsfUtils()
           
 
Method Summary
static
<T> T
findFactory(java.lang.Class<T> factoryClass)
          Find a factory of the specified class using JSFs FactoryFinder class.
static boolean isAsynchronousFlowRequest()
           
static boolean isFlowRequest()
           
static void notifyAfterListeners(javax.faces.event.PhaseId phaseId, javax.faces.lifecycle.Lifecycle lifecycle, javax.faces.context.FacesContext context)
           
static void notifyBeforeListeners(javax.faces.event.PhaseId phaseId, javax.faces.lifecycle.Lifecycle lifecycle, javax.faces.context.FacesContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsfUtils

public JsfUtils()
Method Detail

notifyAfterListeners

public static void notifyAfterListeners(javax.faces.event.PhaseId phaseId,
                                        javax.faces.lifecycle.Lifecycle lifecycle,
                                        javax.faces.context.FacesContext context)

notifyBeforeListeners

public static void notifyBeforeListeners(javax.faces.event.PhaseId phaseId,
                                         javax.faces.lifecycle.Lifecycle lifecycle,
                                         javax.faces.context.FacesContext context)

isFlowRequest

public static boolean isFlowRequest()

isAsynchronousFlowRequest

public static boolean isAsynchronousFlowRequest()

findFactory

public static <T> T findFactory(java.lang.Class<T> factoryClass)
Find a factory of the specified class using JSFs FactoryFinder class.

Parameters:
factoryClass - the factory class to find
Returns:
the factory instance

Spring Web Flow