|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.engine.builder.BaseFlowServiceLocator
org.springframework.webflow.engine.builder.DefaultFlowServiceLocator
public class DefaultFlowServiceLocator
The default flow service locator implementation that obtains subflow definitions from a dedicated
FlowDefinitionRegistry and obtains the remaining services from a generic Spring BeanFactory.
FlowDefinitionRegistry,
FlowServiceLocator.getSubflow(String),
BeanFactory| Constructor Summary | |
|---|---|
DefaultFlowServiceLocator(FlowDefinitionRegistry subflowRegistry,
org.springframework.beans.factory.BeanFactory beanFactory)
Creates a flow service locator that retrieves subflows from the provided registry and additional artifacts from the provided bean factory. |
|
DefaultFlowServiceLocator(java.lang.String subflowRegistryBeanId,
org.springframework.beans.factory.BeanFactory beanFactory)
Convenience flow service locator constructor that looks up a flow definition registry using given bean id in given bean factory. |
|
| Method Summary | |
|---|---|
org.springframework.beans.factory.BeanFactory |
getBeanFactory()
Returns a generic bean (service) registry for accessing arbitrary beans. |
Flow |
getSubflow(java.lang.String id)
Returns the Flow to be used as a subflow with the provided id. |
protected FlowDefinitionRegistry |
getSubflowRegistry()
Returns the flow definition registry used to lookup subflows. |
| Methods inherited from class org.springframework.webflow.engine.builder.BaseFlowServiceLocator |
|---|
addWebFlowConverters, containsBean, createConversionService, getAction, getAttributeMapper, getBean, getBeanInvokingActionFactory, getBeanType, getConversionService, getExceptionHandler, getExpressionParser, getFlowArtifactFactory, getResourceLoader, getTargetStateResolver, getTransitionCriteria, getViewSelector, setBeanInvokingActionFactory, setConversionService, setExpressionParser, setFlowArtifactFactory, setResourceLoader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFlowServiceLocator(FlowDefinitionRegistry subflowRegistry,
org.springframework.beans.factory.BeanFactory beanFactory)
subflowRegistry - the registry for loading subflowsbeanFactory - the spring bean factory
public DefaultFlowServiceLocator(java.lang.String subflowRegistryBeanId,
org.springframework.beans.factory.BeanFactory beanFactory)
subflowRegistryBeanId - the bean id of the subflow FlowDefinitionRegistrybeanFactory - the Spring bean factory| Method Detail |
|---|
public Flow getSubflow(java.lang.String id)
throws FlowArtifactLookupException
FlowServiceLocator
getSubflow in interface FlowServiceLocatorgetSubflow in class BaseFlowServiceLocatorid - the flow id
FlowArtifactLookupException - when no such flow is foundpublic org.springframework.beans.factory.BeanFactory getBeanFactory()
FlowServiceLocator
getBeanFactory in interface FlowServiceLocatorgetBeanFactory in class BaseFlowServiceLocatorprotected FlowDefinitionRegistry getSubflowRegistry()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||