ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/docs/mbeans-descriptors-howto.xml

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/docs/mbeans-descriptors-howto.xml
Status
scanned
Type
file
Name
mbeans-descriptors-howto.xml
Extension
.xml
Programming language

      
    
Mime type
text/xml
File type
XML 1.0 document, ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2638 (2.6 KB)
MD5
2e26361abf5d295fa838643e3d251453
SHA1
c168946c662a8654d8fb5413ba211d285e4e4596
SHA256
3eb9449f0c2970516c4cf805d17cb37fe4bdf95e3152df684f6977bf63113c1f
SHA512

      
    
SHA1_git
6e13b81cd7f2ef41472428d52830b22c24389222
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
mbeans-descriptors-howto.xml | 2.6 KB |

<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE document [ <!ENTITY project SYSTEM "project.xml"> ]> <document url="mbeans-descriptors-howto.html"> &project; <properties> <title>MBeans Descriptors How To</title> </properties> <body> <section name="Table of Contents"> <toc/> </section> <section name="Introduction"> <p>Tomcat uses JMX MBeans as the technology for implementing manageability of Tomcat.</p> <p>The descriptions of JMX MBeans for Catalina are in the mbeans-descriptors.xml file in each package.</p> <p>You will need to add MBean descriptions for your custom components in order to avoid a "ManagedBean is not found" exception.</p> </section> <section name="Adding MBean descriptions"> <p>You may also add MBean descriptions for custom components in an mbeans-descriptors.xml file, located in the same package as the class files it describes.</p> <p>The permitted syntax for the mbeans-descriptors.xml is defined by the <a href="mbeans-descriptors.dtd">DTD</a> file.</p> <p>The entries for a custom LDAP authentication Realm may look like this:</p> <source><![CDATA[ <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>]]></source> </section> </body> </document>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
36.84
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10