|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.util.component.ComponentManager
public class ComponentManager
Create and destroy components.
| Constructor Summary | |
|---|---|
ComponentManager()
Build a component manager. |
|
ComponentManager(Components components)
Build a new component manager with the given set of components. |
|
| Method Summary | |
|---|---|
void |
addComponent(org.ow2.util.component.api.Component component)
Add the given component. |
org.ow2.util.component.api.IComponentRegistry |
getComponentRegistry()
|
Components |
getComponents()
Gets the set of components. |
void |
initComponents()
Init the components by calling init() method. |
void |
removeComponent(org.ow2.util.component.api.Component component)
Remove the given component. |
void |
setComponents(Components components)
Sets the components object. |
void |
startComponents()
Start the components. |
void |
stopComponents()
Stop the components. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentManager()
public ComponentManager(Components components)
components - the given set of components| Method Detail |
|---|
public Components getComponents()
public void setComponents(Components components)
components - the set of components.
public void addComponent(org.ow2.util.component.api.Component component)
throws org.ow2.util.component.api.ComponentException
component - the component to register.
org.ow2.util.component.api.ComponentException - if the component is not added.
public void removeComponent(org.ow2.util.component.api.Component component)
throws org.ow2.util.component.api.ComponentException
component - the component to unregister.
org.ow2.util.component.api.ComponentException - if the component is not removed.
public void initComponents()
throws org.ow2.util.component.api.ComponentException
initComponents in interface org.ow2.util.component.api.IComponentManagerorg.ow2.util.component.api.ComponentException - if initialization fails
public void startComponents()
throws org.ow2.util.component.api.ComponentException
startComponents in interface org.ow2.util.component.api.IComponentManagerorg.ow2.util.component.api.ComponentException - if starting is failingpublic void stopComponents()
stopComponents in interface org.ow2.util.component.api.IComponentManagerpublic org.ow2.util.component.api.IComponentRegistry getComponentRegistry()
getComponentRegistry in interface org.ow2.util.component.api.IComponentManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||