A strategy to use to populate a flow definition registry with one or more flow
definitions.
Flow definition registrars encapsulate the knowledge about the source of a set of flow
definition resources and the behavior necessary to add those resources to a
flow definition registry.
The typical usage pattern is as follows:
- Create a new (initially empty) flow definition registry.
- Use any number of flow definition registrars to populate the registry by calling
FlowDefinitionRegistrar.registerFlowDefinitions(FlowDefinitionRegistry) .
This design where various registrars populate a generic registry was
inspired by Spring's GenericApplicationContext, which can use any number of
BeanDefinitionReaders to drive context population.
See Also: FlowDefinitionRegistry author: Keith Donald |