|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.executor.jsf.FlowFacesUtils
public class FlowFacesUtils
Trivial helper utility class for SWF within a JSF environment. Used mainly to locate Web Flow services needed to run the JSF integration.
Constructor Summary | |
---|---|
FlowFacesUtils()
|
Method Summary | |
---|---|
static FlowDefinitionLocator |
getDefinitionLocator(javax.faces.context.FacesContext context)
Returns the locator for flow definitions to use in a JSF environment. |
static FlowExecutionFactory |
getExecutionFactory(javax.faces.context.FacesContext context)
Returns the flow execution factory to use in a JSF environment. |
static FlowExecutionRepository |
getExecutionRepository(javax.faces.context.FacesContext context)
Returns the flow execution repository to use in a JSF environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlowFacesUtils()
Method Detail |
---|
public static FlowDefinitionLocator getDefinitionLocator(javax.faces.context.FacesContext context)
FLOW_DEFINITION_LOCATOR_BEAN_NAME
. A bean of type
FlowDefinitionLocator
must exist by this name.
context
- the faces context
public static FlowExecutionRepository getExecutionRepository(javax.faces.context.FacesContext context)
FLOW_EXECUTION_REPOSITORY_BEAN_NAME
. If no such bean exists with this name,
falls back on the repository configured by a bean with name FLOW_EXECUTOR_BEAN_NAME
. If no bean exists
with that name, uses the default 'simple' repository implementation.
context
- the faces context
public static FlowExecutionFactory getExecutionFactory(javax.faces.context.FacesContext context)
FLOW_EXECUTION_FACTORY_BEAN_NAME
. If no such bean exists with this name, falls back on
the repository configured by a bean with name FLOW_EXECUTOR_BEAN_NAME
. If no bean exists with that
name, uses the default factory implementation.
context
- the faces context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |