org.springframework.webflow.definition.registry
Interface FlowDefinitionLocator
- All Known Subinterfaces:
- FlowDefinitionRegistry
- All Known Implementing Classes:
- FlowDefinitionRegistryImpl
public interface FlowDefinitionLocator
A runtime service locator interface for retrieving flow definitions by id
. Flow locators are needed by
flow executors at runtime to retrieve fully-configured flow definitions to support launching new flow executions.
- Author:
- Keith Donald, Erwin Vervaet
getFlowDefinition
FlowDefinition getFlowDefinition(java.lang.String id)
throws NoSuchFlowDefinitionException,
FlowDefinitionConstructionException
- Lookup the flow definition with the specified id.
- Parameters:
id
- the flow definition identifier
- Returns:
- the flow definition
- Throws:
NoSuchFlowDefinitionException
- when the flow definition with the specified id does not exist
FlowDefinitionConstructionException
- if there is a problem constructing the identified flow definition