org.springframework.webflow.executor.jsf
Class FlowExecutionHolderUtils

java.lang.Object
  extended by org.springframework.webflow.executor.jsf.FlowExecutionHolderUtils

public class FlowExecutionHolderUtils
extends java.lang.Object

A static utility class for accessing the current flow execution holder.

By default, the current flow execution holder is stored associated with the current thread in the FacesContext's ExternalContext.getRequestMap().

Author:
Keith Donald, Craig McClanahan

Constructor Summary
FlowExecutionHolderUtils()
           
 
Method Summary
static FlowExecutionHolder getFlowExecutionHolder(javax.faces.context.FacesContext context)
          Returns the current flow execution holder for the given faces context.
static boolean isFlowExecutionChanged(javax.faces.context.FacesContext context)
           
static boolean isFlowExecutionRestored(javax.faces.context.FacesContext context)
           
static void setFlowExecutionHolder(FlowExecutionHolder holder, javax.faces.context.FacesContext context)
          Sets the current flow execution holder for the given faces context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowExecutionHolderUtils

public FlowExecutionHolderUtils()
Method Detail

getFlowExecutionHolder

public static FlowExecutionHolder getFlowExecutionHolder(javax.faces.context.FacesContext context)
Returns the current flow execution holder for the given faces context.

Parameters:
context - faces context
Returns:
the flow execution holder, or null if none set.

setFlowExecutionHolder

public static void setFlowExecutionHolder(FlowExecutionHolder holder,
                                          javax.faces.context.FacesContext context)
Sets the current flow execution holder for the given faces context.

Parameters:
holder - the flow execution holder
context - faces context

isFlowExecutionRestored

public static boolean isFlowExecutionRestored(javax.faces.context.FacesContext context)

isFlowExecutionChanged

public static boolean isFlowExecutionChanged(javax.faces.context.FacesContext context)


Copyright © 2004-2006. All Rights Reserved.