A flow definition registrar that populates a flow definition registry from
flow definitions defined within externalized resources. Encapsulates
registration behavior common to all externalized registrars and is not tied
to a specific flow definition format (e.g. xml).
Concrete subclasses are expected to derive from this class to provide
knowledge about a particular kind of definition format by implementing the
abstract template methods in this class.
By default, when configuring the
ExternalizedFlowDefinitionRegistrar.setLocations(Resource[]) locations property, flow definitions at those locations 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" when registered in a
registry.
For full control over the assignment of flow identifiers and flow properties,
configure formal
org.springframework.webflow.definition.registry.FlowDefinitionResource instances using the
ExternalizedFlowDefinitionRegistrar.setResources(FlowDefinitionResource[] resources) property.
See Also: org.springframework.webflow.definition.registry.FlowDefinitionResource See Also: org.springframework.webflow.definition.registry.FlowDefinitionRegistry author: Keith Donald |