|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A specialized ConfigurationManager that can change the set of GBeans included in the configuration at runtime.
Method Summary | |
void |
addGBeanToConfiguration(Artifact configID,
org.apache.geronimo.gbean.GBeanData gbean,
boolean start)
Adds a new GBean to an existing Configuration. |
void |
addGBeanToConfiguration(Artifact configID,
String name,
org.apache.geronimo.gbean.GBeanData gbean,
boolean start)
Adds a new GBean to an existing Configuration. |
void |
removeGBeanFromConfiguration(Artifact configID,
org.apache.geronimo.gbean.AbstractName gbean)
Removes a GBean from a configuration. |
Method Detail |
public void addGBeanToConfiguration(Artifact configID, org.apache.geronimo.gbean.GBeanData gbean, boolean start) throws InvalidConfigException
configID
- The configuration to add the GBean to.gbean
- The data representing the GBean to add.start
- If true, the GBean should be started as part of this call.
InvalidConfigException
public void addGBeanToConfiguration(Artifact configID, String name, org.apache.geronimo.gbean.GBeanData gbean, boolean start) throws InvalidConfigException
configID
- The configuration to add the GBean to.name
- The short name for the new GBean.gbean
- The data representing the GBean to add. This must not have an abstract name set.start
- If true, the GBean should be started as part of this call.
InvalidConfigException
public void removeGBeanFromConfiguration(Artifact configID, org.apache.geronimo.gbean.AbstractName gbean) throws InvalidConfigException, GBeanNotFoundException
configID
- The configuration to remove the GBean from.gbean
- The ObjectName of the GBean to remove.
InvalidConfigException
GBeanNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |