|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FlowDefinitionRegistry
A container of flow definitions. Extends FlowDefinitionLocator for accessing registered Flow definitions for
execution at runtime.
Flow definition registries can be configured with a "parent" registry to provide a hook into a larger flow definition registry hierarchy.
| Method Summary | |
|---|---|
boolean |
containsFlowDefinition(java.lang.String flowId)
Does this registry contain a flow with the given id? More specifically, is FlowDefinitionLocator.getFlowDefinition(String)
able to obtain a flow definition instance for the given id? Will ask the parent registry if the flow cannot be
found in this instance. |
int |
getFlowDefinitionCount()
Returns the number of flow definitions registered in this registry. |
java.lang.String[] |
getFlowDefinitionIds()
Returns the ids of the flows registered in this registry. |
FlowDefinitionRegistry |
getParent()
Returns this registry's parent registry. |
void |
registerFlowDefinition(FlowDefinition definition)
Register a flow definition in this registry. |
void |
registerFlowDefinition(FlowDefinitionHolder definitionHolder)
Register a flow definition in this registry. |
void |
setParent(FlowDefinitionRegistry parent)
Sets this registry's parent registry. |
| Methods inherited from interface org.springframework.webflow.definition.registry.FlowDefinitionLocator |
|---|
getFlowDefinition |
| Method Detail |
|---|
int getFlowDefinitionCount()
java.lang.String[] getFlowDefinitionIds()
FlowDefinitionRegistry getParent()
boolean containsFlowDefinition(java.lang.String flowId)
FlowDefinitionLocator.getFlowDefinition(String)
able to obtain a flow definition instance for the given id? Will ask the parent registry if the flow cannot be
found in this instance.
flowId - the id of the flow to query
void setParent(FlowDefinitionRegistry parent)
parent - the parent flow definition registry, may be nullvoid registerFlowDefinition(FlowDefinitionHolder definitionHolder)
definitionHolder - a holder holding the flow definition to registervoid registerFlowDefinition(FlowDefinition definition)
definition - the actual flow definition
|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||