NamespaceHandler for the webflow-config namespace.
Provides
BeanDefinitionParser bean definition parsers for the
<executor> and <registry> tags. An
executor tag can include an execution-listeners
tag and a registry tag can include location
tags.
Using the executor tag you can configure a
FlowExecutorFactoryBean that creates a
org.springframework.webflow.executor.FlowExecutor . The
executor tag allows you to specify the repository type and a
reference to a registry.
<flow:executor id="registry" registry-ref="registry" repository-type="continuation" >
<flow:execution-listeners>
<flow:listener ref="listener1" />
<flow:listener ref="listener2" ref="*" />
<flow:listener ref="listener3" ref="flow1, flow2, flow3" />
<flow:execution-listeners />
</flow:executor>
Using the registry tag you can configure an
org.springframework.webflow.engine.builder.xml.XmlFlowRegistryFactoryBean to create a registry for use by any number of executor s. The
registry tag supports in-line flow definition locations.
<flow:registry id="registry">
<flow:location path="/path/to/flow.xml" />
<flow:location path="/path/with/wildcards/*-flow.xml" />
</flow:registry>
author: Ben Hale |