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
-
Method Summary
Modifier and TypeMethodDescriptionLookup the flow definition with the specified id.
-
Method Details
-
getFlowDefinition
FlowDefinition getFlowDefinition(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 existFlowDefinitionConstructionException
- if there is a problem constructing the identified flow definition
-