A support interface used by flow builders at configuration time. Acts as a
"service locator" responsible for:
Retrieving dependent (but externally managed) flow services needed to
configure flow and state definitions. Such services are usually hosted in a
backing registry and may be shared by multiple flows.
Providing access to abstract factories to create core flow definitional
artifacts such as
Flow ,
State ,
Transition , and
AbstractBeanInvokingAction bean invoking actions . These artifacts
are unique to each flow and are typically not shared.
In general, implementations of this interface act as facades to accessing and
creating flow artifacts during
FlowAssembler flow assembly .
Retrieve an action to be executed within a flow with the assigned id.
Parameters: id - the id of the action throws: FlowArtifactLookupException - when no such action is found
Returns the flow attribute mapper with the provided id. Flow attribute
mappers are used from subflow states to map input and output attributes.
Parameters: id - the attribute mapper id the attribute mapper throws: FlowArtifactLookupException - when no such mapper is found
Returns a generic bean (service) registry for accessing arbitrary beans.
the generic service registry throws: UnsupportedOperationException - when not supported by this locator
Returns the exception handler to handle flow execution exceptions with
the provided id.
Parameters: id - the exception handler id the exception handler throws: FlowArtifactLookupException - when no such handler is found
Returns the Flow to be used as a subflow with the provided id.
Parameters: id - the flow id the flow to be used as a subflow throws: FlowArtifactLookupException - when no such flow is found
Returns the transition target state resolver with the specified id.
Parameters: id - the target state resolver id the target state resolver throws: FlowArtifactLookupException - when no such resolver is found
Returns the transition criteria to drive state transitions with the
provided id.
Parameters: id - the transition criteria id the transition criteria throws: FlowArtifactLookupException - when no such criteria is found
Returns the view selector to make view selections in view states with the
provided id.
Parameters: id - the view selector id the view selector throws: FlowArtifactLookupException - when no such selector is found