Apache Tomcat 7

Version 7.0.20, Aug 9 2011

Links

User Guide

Reference

Apache Tomcat Development

MBean Descriptor How To

Table of Contents
Introduction

Tomcat uses JMX MBeans as the technology for implementing manageability of Tomcat.

The descriptions of JMX MBeans for Catalina are in the mbeans-descriptor.xml file in each package.

星城彩票平台You will need to add MBean descriptions for your custom components in order to avoid a "ManagedBean is not found" exception.

Adding MBean descriptions

You may also add MBean descriptions for custom components in a mbeans-descriptor.xml file, located in the same package as the class files it describes.

  <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>

Copyright © 1999-2011, Apache Software Foundation
青海快3 金榜彩票开户 099彩票开奖 博虎彩票注册 博虎彩票app 北京11选5开奖 荣鼎彩 上海11选5走势 贵州快3 大福彩票开户