|
|||||||||
| Home >> All >> com >> aendvari >> cerberus >> component >> [ directory overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.cerberus.component.directory
Class ComponentDirectory

java.lang.Objectcom.aendvari.cerberus.component.directory.ComponentDirectory
- public class ComponentDirectory
- extends java.lang.Object
The component directory provides an interface for accessing component attributes and messages.
Components are stored in the directory using their instance names. When a component is part of a composite, the instance name has the parent's name as a prefix.
| Field Summary | |
protected com.aendvari.common.osm.Osm |
directory
The OSM to store component information. |
| Constructor Summary | |
ComponentDirectory()
Constructs a ComponentDirectory instance. |
|
| Method Summary | |
void |
addComponent(com.aendvari.cerberus.component.descriptor.ComponentDescriptor descriptor)
Adds a new com.aendvari.cerberus.component.descriptor.ComponentDescriptor to the directory. |
com.aendvari.cerberus.component.descriptor.ComponentDescriptor |
getComponent(java.lang.String name)
Returns the specified com.aendvari.cerberus.component.descriptor.ComponentDescriptor. |
java.util.Collection |
getComponents()
Returns all ComponentDescriptors. |
private void |
getComponents(com.aendvari.common.osm.OsmNode node,
java.util.Collection components)
Helper method for getComponents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
directory
protected com.aendvari.common.osm.Osm directory
- The OSM to store component information.
| Constructor Detail |
ComponentDirectory
public ComponentDirectory()
- Constructs a
ComponentDirectoryinstance.
| Method Detail |
addComponent
public void addComponent(com.aendvari.cerberus.component.descriptor.ComponentDescriptor descriptor)
- Adds a new com.aendvari.cerberus.component.descriptor.ComponentDescriptor to the directory.
getComponent
public com.aendvari.cerberus.component.descriptor.ComponentDescriptor getComponent(java.lang.String name)
- Returns the specified com.aendvari.cerberus.component.descriptor.ComponentDescriptor.
getComponents
public java.util.Collection getComponents()
- Returns all ComponentDescriptors.
getComponents
private void getComponents(com.aendvari.common.osm.OsmNode node, java.util.Collection components)
- Helper method for
getComponents. Collects all ComponentDescriptors.
|
|||||||||
| Home >> All >> com >> aendvari >> cerberus >> component >> [ directory overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.aendvari.cerberus.component.directory.ComponentDirectory