Chapter 18 Adding MBean Descriptor
Tomcat 6 utilizes JMX MBeans in implementing manageability of Tomcat. You may view the descriptions of the JMX MBeans for Catalina in the mbeans-descriptor.xml file.
Adding MBean Descriptions
You may add MBean descriptions for custom components in an mbeans-descriptor.xml file.
<mbean name="LDAPRealm"
className="org.apache.catalina.mbeans.ClassNameMBean"
description="Custom LDAPRealm"
domain="Catalina"
group="Realm"
type="com.myfirm.mypackage.LDAPRealm">
<attribute name="className"
description="Fully qualified class name of the managed object"
type="java.lang.String"
writeable="false"/>
<attribute name="debug"
description="The debugging detail level for this component"
type="int"/>
.
.
.
</mbean>


