org.springframework.webflow.engine.model.registry
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
getFlowModel
FlowModel getFlowModel(java.lang.String id)
throws NoSuchFlowModelException
- 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