Interface FlowModelLocator
- All Known Subinterfaces:
FlowModelRegistry
- All Known Implementing Classes:
FlowModelRegistryImpl
public interface FlowModelLocator
A runtime service locator interface for retrieving flow definitions by
id
. Flow locators are needed by
flow executors at runtime to retrieve flow models to support loading flow definitions.- Author:
- Keith Donald, Erwin Vervaet, Scott Andrews
-
Method Summary
Modifier and TypeMethodDescriptiongetFlowModel
(String id) Lookup the flow model with the specified id.
-
Method Details
-
getFlowModel
Lookup the flow model with the specified id.- Parameters:
id
- the flow model identifier- Returns:
- the flow mode
- Throws:
NoSuchFlowModelException
- when the flow model with the specified id does not exist
-