By default, a configured flow definition will be assigned a registry
identifier equal to the filename of the underlying definition resource, minus
the filename extension. For example, a XML-based flow definition defined in
the file flow1.xml will be identified as flow1
in the registry created by this factory bean.
This class is also BeanFactoryAware and when used with Spring
will automatically create a configured DefaultFlowServiceLocator
for loading Flow artifacts like Actions from the Spring bean factory during
the Flow registration process.
This class is also ResourceLoaderAware; when an instance is
created by a Spring BeanFactory the factory will automatically configure the
XmlFlowRegistrar with a context-relative resource loader for accessing other
resources during Flow assembly.
<bean id="flowRegistry" class="org.springframework.webflow.registry.XmlFlowRegistryFactoryBean">
<property name="flowLocations"> value="/WEB-INF/flows/*-flow.xml"/>