|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.engine.model.registry.FlowModelRegistryImpl
public class FlowModelRegistryImpl
A generic registry implementation for housing one or more flow models.
Constructor Summary | |
---|---|
FlowModelRegistryImpl()
|
Method Summary | |
---|---|
FlowModel |
getFlowModel(java.lang.String id)
Lookup the flow model with the specified id. |
void |
registerFlowModel(java.lang.String id,
FlowModelHolder modelHolder)
Register a flow model in this registry. |
void |
setParent(FlowModelRegistry 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 FlowModelRegistryImpl()
Method Detail |
---|
public FlowModel getFlowModel(java.lang.String id) throws NoSuchFlowModelException
FlowModelLocator
getFlowModel
in interface FlowModelLocator
id
- the flow model identifier
NoSuchFlowModelException
- when the flow model with the specified id does not existpublic void setParent(FlowModelRegistry parent)
FlowModelRegistry
setParent
in interface FlowModelRegistry
parent
- the parent flow model registry, may be nullpublic void registerFlowModel(java.lang.String id, FlowModelHolder modelHolder)
FlowModelRegistry
registerFlowModel
in interface FlowModelRegistry
id
- the id to register the flow model undermodelHolder
- a holder holding the flow model to registerpublic java.lang.String toString()
toString
in class java.lang.Object
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |