|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.modeler.BaseModelMBean
org.apache.catalina.mbeans.ContainerMBean
public class ContainerMBean
| Field Summary |
|---|
| Fields inherited from class org.apache.tomcat.util.modeler.BaseModelMBean |
|---|
attributeBroadcaster, generalBroadcaster, managedBean, oname, resource, resourceType |
| Constructor Summary | |
|---|---|
ContainerMBean()
Construct a ModelMBean with default
ModelMBeanInfo information. |
|
| Method Summary | |
|---|---|
void |
addChild(String type,
String name)
Add a new child Container to those associated with this Container, if supported. |
void |
addLifeCycleListener(String type)
Add a LifecycleEvent listener to this component. |
String |
addValve(String valveType)
Adds a valve to this Container instance. |
void |
removeChild(String name)
Remove an existing child Container from association with this parent Container. |
void |
removeLifeCycleListeners(String type)
Remove a LifecycleEvent listeners from this component. |
void |
removeValve(String valveName)
Remove an existing Valve. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContainerMBean()
throws MBeanException,
RuntimeOperationsException
ModelMBean with default
ModelMBeanInfo information.
MBeanException - if the initializer of an object
throws an exception
RuntimeOperationsException - if an IllegalArgumentException
occurs| Method Detail |
|---|
public void addChild(String type,
String name)
throws MBeanException
type - ClassName of the child to be addedname - Name of the child to be added
MBeanException - if the child cannot be added
public void removeChild(String name)
throws MBeanException
name - Name of the existing child Container to be removed
MBeanException
public String addValve(String valveType)
throws MBeanException
valveType - ClassName of the valve to be added
MBeanException - if a component cannot be removed
public void removeValve(String valveName)
throws MBeanException
valveName - MBean Name of the Valve to remove
MBeanException - if a component cannot be removed
public void addLifeCycleListener(String type)
throws MBeanException
type - ClassName of the listener to add
MBeanException
public void removeLifeCycleListeners(String type)
throws MBeanException
type - The ClassName of the listeners to be removed.
Note that all the listeners having given ClassName will be removed.
MBeanException
|
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||