Spring Web Flow

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

Method Summary
 FlowModel getFlowModel(java.lang.String id)
          Lookup the flow model with the specified id.
 

Method Detail

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

Spring Web Flow