org.springframework.webflow.definition.registry |
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");
|
Java Source File Name | Type | Comment |
AbstractFlowDefinitionRegistryFactoryBean.java | Class | A base class for factory beans that create populated flow definition registries. |
ExternalizedFlowDefinitionRegistrar.java | Class | A flow definition registrar that populates a flow definition registry from
flow definitions defined within externalized resources. |
FlowDefinitionConstructionException.java | Class | Thrown when a flow definition was found during a lookup operation
but could not be constructed. |
FlowDefinitionHolder.java | Interface | A holder holding a reference to a Flow definition. |
FlowDefinitionLocator.java | Interface | A runtime service locator interface for retrieving flow definitions by
id . |
FlowDefinitionRegistrar.java | Interface | A strategy to use to populate a flow definition registry with one or more flow
definitions. |
FlowDefinitionRegistry.java | Interface | A container of flow definitions. |
FlowDefinitionRegistryImpl.java | Class | A generic registry implementation for housing one or more flow definitions.
This registry may be refreshed at runtime to "hot reload" refreshable flow
definitions. |
FlowDefinitionRegistryMBean.java | Interface | A management interface for managing flow definition registries at runtime.
Provides the ability to query the size and state of the registry, as well as
refresh registered flow definitions at runtime.
Flow registries that implement this interface may be exposed for management
over the JMX protocol. |
FlowDefinitionResource.java | Class | A pointer to an externalized flow definition resource. |
NoSuchFlowDefinitionException.java | Class | Thrown when no flow definition was found during a lookup operation by a flow
locator. |
StaticFlowDefinitionHolder.java | Class | A simple flow definition holder that just holds a constant singleton
reference to a flow definition. |