|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
FlowDefinitionHolder | A holder holding a reference to a Flow definition. |
FlowDefinitionLocator | A runtime service locator interface for retrieving flow definitions by id . |
FlowDefinitionRegistrar | A strategy to use to populate a flow definition registry with one or more flow definitions. |
FlowDefinitionRegistry | A container of flow definitions. |
FlowDefinitionRegistryMBean | A management interface for managing flow definition registries at runtime. |
Class Summary | |
---|---|
AbstractFlowDefinitionRegistryFactoryBean | A base class for factory beans that create populated flow definition registries. |
ExternalizedFlowDefinitionRegistrar | A flow definition registrar that populates a flow definition registry from flow definitions defined within externalized resources. |
FlowDefinitionRegistryImpl | A generic registry implementation for housing one or more flow definitions. |
FlowDefinitionResource | A pointer to an externalized flow definition resource. |
StaticFlowDefinitionHolder | A simple flow definition holder that just holds a constant singleton reference to a flow definition. |
Exception Summary | |
---|---|
FlowDefinitionConstructionException | Thrown when a flow definition was found during a lookup operation but could not be constructed. |
NoSuchFlowDefinitionException | Thrown when no flow definition was found during a lookup operation by a flow locator. |
The flow definition registry subsystem for managing containers of flow definitions.
You can construct a generic, initially empty FlowDefinitionRegistry, populate it with flow definitions using a FlowDefinitionRegistrar, then lookup flow definitions by id. For example:
// create registry FlowDefinitionRegistry registry = new FlowDefinitionRegistryImpl(); // populate registry FlowDefinitionRegistrar registrar = .. registrar.addLocation(...); registrar.addLocation(...); registrar.registerFlowDefinitions(registry); // use registry FlowDefinition flow = registry.getFlow("myFlow");
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |