|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the system component keeper. A ComponentKeeper is responsible for the birth and death of all components and maintaining a reference to them during their lives.
Copyright 2002 Sapient
Method Summary | |
void |
destroyAllComponents()
Stops and destroys all components. |
void |
destroyComponent(String logicalComponentName)
Destroys the component specified by the name parameter. |
Component |
fetchComponent(String logicalComponentName)
Gets a reference to the component specified by the name parameter. |
Collection |
getComponentNames()
Returns a Collection of all the components loaded in the system. |
Method Detail |
public Component fetchComponent(String logicalComponentName)
Gets a reference to the component specified by the name parameter. Builds the component if it has not yet been created. Repeated calls to this method requesting the same logicalComponentName should return the same reference unless the component has been destroyed between calls.
logicalComponentName
- the name of the component
public Collection getComponentNames()
public void destroyAllComponents()
Stops and destroys all components.
public void destroyComponent(String logicalComponentName)
Destroys the component specified by the name parameter.
logicalComponentName
- the name of the component
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |