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

java.lang.Objectcom.aendvari.cerberus.component.descriptor.AssemblyDescriptor
- public class AssemblyDescriptor
- extends java.lang.Object
Provides a container for ComponentDefinitions and ComponentInstances.
The assembly descriptor is used during the building of component objects.
| Field Summary | |
protected java.util.HashMap |
components
The components of this assembly descriptor. |
protected java.util.HashMap |
definitions
The definitions of this assembly descriptor. |
| Constructor Summary | |
AssemblyDescriptor()
Constructs an AssemblyDescriptor instance. |
|
AssemblyDescriptor(AssemblyDescriptor assembly)
Constructs an AssemblyDescriptor instance as a copy of the one supplied. |
|
| Method Summary | |
void |
addComponent(ComponentInstance component)
Adds a component to this assembly descriptor. |
void |
addDefinition(ComponentDefinition definition)
Adds a component definition to this assembly descriptor. |
ComponentInstance |
getComponent(java.lang.String name)
Returns the specified component. |
java.util.Collection |
getComponents()
Returns the components of this assembly descriptor. |
ComponentDefinition |
getDefinition(java.lang.String name)
Returns the specified component definition. |
java.util.Collection |
getDefinitions()
Returns the component definitions in this assembly descriptor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
definitions
protected java.util.HashMap definitions
- The definitions of this assembly descriptor.
components
protected java.util.HashMap components
- The components of this assembly descriptor.
| Constructor Detail |
AssemblyDescriptor
public AssemblyDescriptor()
- Constructs an
AssemblyDescriptorinstance.
AssemblyDescriptor
public AssemblyDescriptor(AssemblyDescriptor assembly)
- Constructs an
AssemblyDescriptorinstance as a copy of the one supplied.
| Method Detail |
addDefinition
public void addDefinition(ComponentDefinition definition)
- Adds a component definition to this assembly descriptor.
getDefinition
public ComponentDefinition getDefinition(java.lang.String name)
- Returns the specified component definition.
getDefinitions
public java.util.Collection getDefinitions()
- Returns the component definitions in this assembly descriptor.
addComponent
public void addComponent(ComponentInstance component)
- Adds a component to this assembly descriptor.
getComponent
public ComponentInstance getComponent(java.lang.String name)
- Returns the specified component.
getComponents
public java.util.Collection getComponents()
- Returns the components of this assembly descriptor.
|
|||||||||
| Home >> All >> com >> aendvari >> cerberus >> component >> [ descriptor overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.aendvari.cerberus.component.descriptor.AssemblyDescriptor