|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl
public class FlowDefinitionRegistryImpl
A generic registry implementation for housing one or more flow definitions.
| Constructor Summary | |
|---|---|
FlowDefinitionRegistryImpl()
|
|
| 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. |
void |
destroy()
|
FlowDefinition |
getFlowDefinition(java.lang.String id)
Lookup the flow definition with the specified id. |
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. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlowDefinitionRegistryImpl()
| Method Detail |
|---|
public FlowDefinition getFlowDefinition(java.lang.String id)
throws NoSuchFlowDefinitionException,
FlowDefinitionConstructionException
FlowDefinitionLocator
getFlowDefinition in interface FlowDefinitionLocatorid - the flow definition identifier
NoSuchFlowDefinitionException - when the flow definition with the specified id does not exist
FlowDefinitionConstructionException - if there is a problem constructing the identified flow definitionpublic boolean containsFlowDefinition(java.lang.String flowId)
FlowDefinitionRegistryFlowDefinitionLocator.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.
containsFlowDefinition in interface FlowDefinitionRegistryflowId - the id of the flow to query
public int getFlowDefinitionCount()
FlowDefinitionRegistry
getFlowDefinitionCount in interface FlowDefinitionRegistrypublic java.lang.String[] getFlowDefinitionIds()
FlowDefinitionRegistry
getFlowDefinitionIds in interface FlowDefinitionRegistrypublic FlowDefinitionRegistry getParent()
FlowDefinitionRegistry
getParent in interface FlowDefinitionRegistrypublic void setParent(FlowDefinitionRegistry parent)
FlowDefinitionRegistry
setParent in interface FlowDefinitionRegistryparent - the parent flow definition registry, may be nullpublic void registerFlowDefinition(FlowDefinitionHolder definitionHolder)
FlowDefinitionRegistry
registerFlowDefinition in interface FlowDefinitionRegistrydefinitionHolder - a holder holding the flow definition to registerpublic void registerFlowDefinition(FlowDefinition definition)
FlowDefinitionRegistry
registerFlowDefinition in interface FlowDefinitionRegistrydefinition - the actual flow definitionpublic void destroy()
public java.lang.String toString()
toString in class java.lang.Object
|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||