|
Apache Tomcat 7.0.27 | ||||||||
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(java.lang.String type,
java.lang.String name)
Add a new child Container to those associated with this Container, if supported. |
void |
addLifeCycleListener(java.lang.String type)
Add a LifecycleEvent listener to this component. |
java.lang.String |
addValve(java.lang.String valveType)
Adds a valve to this Container instance. |
java.lang.String[] |
findContainerListenerNames()
List the class name of each of the container listeners added to this container. |
java.lang.String[] |
findLifecycleListenerNames()
List the class name of each of the lifecycle listeners added to this container. |
void |
removeChild(java.lang.String name)
Remove an existing child Container from association with this parent Container. |
void |
removeLifeCycleListeners(java.lang.String type)
Remove a LifecycleEvent listeners from this component. |
void |
removeValve(java.lang.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 javax.management.MBeanException, javax.management.RuntimeOperationsException
ModelMBean
with default
ModelMBeanInfo
information.
javax.management.MBeanException
- if the initializer of an object
throws an exception
javax.management.RuntimeOperationsException
- if an IllegalArgumentException
occursMethod Detail |
---|
public void addChild(java.lang.String type, java.lang.String name) throws javax.management.MBeanException
type
- ClassName of the child to be addedname
- Name of the child to be added
javax.management.MBeanException
- if the child cannot be addedpublic void removeChild(java.lang.String name) throws javax.management.MBeanException
name
- Name of the existing child Container to be removed
javax.management.MBeanException
public java.lang.String addValve(java.lang.String valveType) throws javax.management.MBeanException
valveType
- ClassName of the valve to be added
javax.management.MBeanException
- if a component cannot be removedpublic void removeValve(java.lang.String valveName) throws javax.management.MBeanException
valveName
- MBean Name of the Valve to remove
javax.management.MBeanException
- if a component cannot be removedpublic void addLifeCycleListener(java.lang.String type) throws javax.management.MBeanException
type
- ClassName of the listener to add
javax.management.MBeanException
public void removeLifeCycleListeners(java.lang.String type) throws javax.management.MBeanException
type
- The ClassName of the listeners to be removed.
Note that all the listeners having given ClassName will be removed.
javax.management.MBeanException
public java.lang.String[] findLifecycleListenerNames() throws javax.management.MBeanException
javax.management.MBeanException
public java.lang.String[] findContainerListenerNames() throws javax.management.MBeanException
javax.management.MBeanException
|
Apache Tomcat 7.0.27 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |