Spring Web Flow

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

Method Summary
 FlowDefinition getFlowDefinition(java.lang.String id)
          Lookup the flow definition with the specified id.
 

Method Detail

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

Spring Web Flow