Trivial helper utility class for SWF within a JSF environment. Used mainly to
locate Web Flow services needed to run the JSF integration.
author: Keith Donald
Returns the locator for flow definitions to use in a JSF environment.
Searches for a bean in the root web application context named
FlowFacesUtils.FLOW_DEFINITION_LOCATOR_BEAN_NAME . A bean of type
FlowDefinitionLocator must exist by this name.
Parameters: context - the faces context the flow definition locator
Returns the flow execution factory to use in a JSF environment. Searches
for a bean in the root web application context named
FlowFacesUtils.FLOW_EXECUTION_FACTORY_BEAN_NAME . If no such bean exists with
this name, falls back on the repository configured by a bean with name
FlowFacesUtils.FLOW_EXECUTOR_BEAN_NAME . If no bean exists with that name, uses
the default factory implementation.
Parameters: context - the faces context the flow execution factory
Returns the flow execution repository to use in a JSF environment.
Searches for a bean in the root web application context named
FlowFacesUtils.FLOW_EXECUTION_REPOSITORY_BEAN_NAME . If no such bean exists
with this name, falls back on the repository configured by a bean with
name
FlowFacesUtils.FLOW_EXECUTOR_BEAN_NAME . If no bean exists with that name,
uses the default 'simple' repository implementation.
Parameters: context - the faces context the flow execution repository