|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FlowServiceLocator
A support interface used by flow builders at configuration time. Acts as a "service locator" responsible for:
Flow,
State, Transition, and 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
flow assembly.
Finally, this interface also exposes access to generic infrastructure services also needed by flow assemblers such as
a ConversionService and ExpressionParser.
FlowBuilder,
BaseFlowBuilder,
FlowAssembler| Method Summary | |
|---|---|
Action |
getAction(java.lang.String id)
Retrieve an action to be executed within a flow with the assigned id. |
FlowAttributeMapper |
getAttributeMapper(java.lang.String id)
Returns the flow attribute mapper with the provided id. |
org.springframework.beans.factory.BeanFactory |
getBeanFactory()
Returns a generic bean (service) registry for accessing arbitrary beans. |
BeanInvokingActionFactory |
getBeanInvokingActionFactory()
Returns the factory for bean invoking actions. |
org.springframework.binding.convert.ConversionService |
getConversionService()
Returns a generic type conversion service for converting between types, typically from string to a rich value object. |
FlowExecutionExceptionHandler |
getExceptionHandler(java.lang.String id)
Returns the exception handler to handle flow execution exceptions with the provided id. |
org.springframework.binding.expression.ExpressionParser |
getExpressionParser()
Returns the expression parser for parsing expression strings. |
FlowArtifactFactory |
getFlowArtifactFactory()
Returns the factory for core flow artifacts such as Flow and State. |
org.springframework.core.io.ResourceLoader |
getResourceLoader()
Returns a generic resource loader for accessing file-based resources. |
Flow |
getSubflow(java.lang.String id)
Returns the Flow to be used as a subflow with the provided id. |
TargetStateResolver |
getTargetStateResolver(java.lang.String id)
Returns the transition target state resolver with the specified id. |
TransitionCriteria |
getTransitionCriteria(java.lang.String id)
Returns the transition criteria to drive state transitions with the provided id. |
ViewSelector |
getViewSelector(java.lang.String id)
Returns the view selector to make view selections in view states with the provided id. |
| Method Detail |
|---|
Flow getSubflow(java.lang.String id)
throws FlowArtifactLookupException
id - the flow id
FlowArtifactLookupException - when no such flow is found
Action getAction(java.lang.String id)
throws FlowArtifactLookupException
id - the id of the action
FlowArtifactLookupException - when no such action is found
FlowAttributeMapper getAttributeMapper(java.lang.String id)
throws FlowArtifactLookupException
id - the attribute mapper id
FlowArtifactLookupException - when no such mapper is found
TransitionCriteria getTransitionCriteria(java.lang.String id)
throws FlowArtifactLookupException
id - the transition criteria id
FlowArtifactLookupException - when no such criteria is found
TargetStateResolver getTargetStateResolver(java.lang.String id)
throws FlowArtifactLookupException
id - the target state resolver id
FlowArtifactLookupException - when no such resolver is found
ViewSelector getViewSelector(java.lang.String id)
throws FlowArtifactLookupException
id - the view selector id
FlowArtifactLookupException - when no such selector is found
FlowExecutionExceptionHandler getExceptionHandler(java.lang.String id)
throws FlowArtifactLookupException
id - the exception handler id
FlowArtifactLookupException - when no such handler is foundFlowArtifactFactory getFlowArtifactFactory()
BeanInvokingActionFactory getBeanInvokingActionFactory()
org.springframework.beans.factory.BeanFactory getBeanFactory()
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationException - when not supported by this locatororg.springframework.core.io.ResourceLoader getResourceLoader()
org.springframework.binding.expression.ExpressionParser getExpressionParser()
org.springframework.binding.convert.ConversionService getConversionService()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||