public class FlowModelRegistryImpl extends Object implements FlowModelRegistry
| Constructor and Description |
|---|
FlowModelRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
FlowModel |
getFlowModel(String id)
Lookup the flow model with the specified id.
|
void |
registerFlowModel(String id,
FlowModelHolder modelHolder)
Register a flow model in this registry.
|
void |
setParent(FlowModelRegistry parent)
Sets this registry's parent registry.
|
String |
toString() |
public FlowModel getFlowModel(String id) throws NoSuchFlowModelException
FlowModelLocatorgetFlowModel in interface FlowModelLocatorid - the flow model identifierNoSuchFlowModelException - when the flow model with the specified id does not existpublic void setParent(FlowModelRegistry parent)
FlowModelRegistrysetParent in interface FlowModelRegistryparent - the parent flow model registry, may be nullpublic void registerFlowModel(String id, FlowModelHolder modelHolder)
FlowModelRegistryregisterFlowModel in interface FlowModelRegistryid - the id to register the flow model undermodelHolder - a holder holding the flow model to register