Blame | Last modification | View Log | Download | RSS feed
<!--Licensed to the Apache Software Foundation (ASF) under one or morecontributor license agreements. See the NOTICE file distributed withthis 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 withthe License. You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.--><!--DTD for the Model MBeans Configuration FileTo support validation of your configuration file, include the followingDOCTYPE element at the beginning (after the "xml" declaration):<!DOCTYPE mbeans-descriptors PUBLIC"-//Apache Software Foundation//DTD Model MBeans Configuration File""http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">--><!-- ========== Defined Types ============================================= --><!-- This DTD has been modified not to use these entities as their use can --><!-- trigger errors when entity expansion is limited or disabled. --><!-- See https://bz.apache.org/bugzilla/show_bug.cgi?id=64541 --><!-- A "Boolean" is the string representation of a boolean (true or false)variable.--><!ENTITY % Boolean "(true|false|yes|no)"><!-- A "ClassName" is the fully qualified name of a Java class that isinstantiated to provide the functionality of the enclosing element.--><!ENTITY % ClassName "CDATA"><!-- A "MethodName" is the name of a constructor or method, which mustbe legal according to the syntax requirements of the Java language.--><!ENTITY % MethodName "CDATA"><!-- A "VariableName" is the name of a variable or parameter, which mustbe legal according to the syntax requirements of the Java language.--><!ENTITY % VariableName "CDATA"><!-- ========== Element Definitions ======================================= --><!-- The "mbeans-descriptors" element is the root of the configuration filehierarchy, and contains nested elements for all of the otherconfiguration settings. Remaining element definitions are listedin alphabetical order.--><!ELEMENT mbeans-descriptors (mbean*)><!ATTLIST mbeans-descriptors id ID #IMPLIED><!-- The "attribute" element describes a JavaBeans property of an MBean.The following attributes are supported:description Human-readable description of this attribute.displayName Display name of this attribute.getMethod Name of the property getter method, if it doesnot follow standard JavaBeans naming patterns.is Boolean value indicating whether or not thisattribute is a boolean with an "is" getter method.By default, this is set to "false".name Name of this JavaBeans property, conforming tostandard naming design patterns.readable Boolean value indicating whether or not thisattribute is readable by management applications.By default, this is set to "true".setMethod Name of the property setter method, if it doesnot follow standard JavaBeans naming patterns.type Fully qualified Java class name of this attribute.writeable Boolean value indicating whether or not thisattribute is writeable by management applications.By default, this is set to "true".--><!ELEMENT attribute (descriptor?)><!ATTLIST attribute id ID #IMPLIED><!ATTLIST attribute description CDATA #IMPLIED><!ATTLIST attribute displayName CDATA #IMPLIED><!ATTLIST attribute getMethod CDATA #IMPLIED> <!-- %MethodName; --><!ATTLIST attribute is (true|false|yes|no) #IMPLIED> <!-- %Boolean; --><!ATTLIST attribute name CDATA #IMPLIED> <!-- %VariableName; --><!ATTLIST attribute readable (true|false|yes|no) #IMPLIED> <!-- %Boolean; --><!ATTLIST attribute setMethod CDATA #IMPLIED> <!-- %MethodName; --><!ATTLIST attribute type CDATA #IMPLIED> <!-- %ClassName; --><!ATTLIST attribute writeable (true|false|yes|no) #IMPLIED> <!-- %Boolean; --><!-- The "constructor" element describes a public constructor for theunderlying actual class. It may contain nested "parameter" elementsfor the various arguments to this constructor. The following attributesare supported:displayName Display name of this constructor.name Name of this constructor (by Java convention, this mustbe the same as the base class name).--><!ELEMENT constructor (descriptor?, parameter*)><!ATTLIST constructor id ID #IMPLIED><!ATTLIST constructor displayName CDATA #IMPLIED><!ATTLIST constructor name CDATA #IMPLIED> <!-- %VariableName; --><!-- The "descriptor" element groups a set of descriptor fields whosevalues will be included in the Descriptor for the correspondingmetadata info classes.--><!ELEMENT descriptor (field*)><!ATTLIST descriptor id ID #IMPLIED><!-- The "field" element represents a single name/value pair that willbe included in the Descriptor corresponding to our enclosing"descriptor" element. The following attributes are supported:name Field name of the field to be includedvalue Field value of the field to be included(will be stored as a String)--><!ELEMENT field EMPTY><!ATTLIST field id ID #IMPLIED><!ATTLIST field name CDATA #REQUIRED><!ATTLIST field value CDATA #REQUIRED><!-- The "mbean" element describes a particular JMX ModelMBean implementation,including the information necessary to construct the correspondingModelMBeanInfo structures. The following attributes are supported:className Fully qualified Java class name of the ModelMBeanimplementation class. If not specified, the standardimplementation provided by JMX will be utilized.description Human-readable description of this managed bean.domain The JMX MBeanServer domain in which the ModelMBeancreated by this managed bean should be registered,when creating its ObjectName.group Optional name of a "grouping classification" that canbe used to select groups of similar MBean implementationclasses.name Unique name of this MBean (normally corresponds to thebase class name of the corresponding server component).type Fully qualified Java class name of the underlyingmanaged resource implementation class.--><!ELEMENT mbean (descriptor?, attribute*, constructor*, notification*, operation*)><!ATTLIST mbean id ID #IMPLIED><!ATTLIST mbean className CDATA #IMPLIED> <!-- %ClassName; --><!ATTLIST mbean description CDATA #IMPLIED><!ATTLIST mbean domain CDATA #IMPLIED><!ATTLIST mbean group CDATA #IMPLIED><!ATTLIST mbean name CDATA #IMPLIED> <!-- %MethodName; --><!ATTLIST mbean type CDATA #IMPLIED> <!-- %ClassName; --><!-- The "notification" element describes the notification types that aregenerated by a particular managed bean. The following attributesare supported:description Human-readable description of these notification events.name Name of this set of notification event types.--><!ELEMENT notification (descriptor?, notification-type*)><!ATTLIST notification id ID #IMPLIED><!ATTLIST notification description CDATA #IMPLIED><!ATTLIST notification name CDATA #IMPLIED> <!-- %VariableName; --><!-- The nested content of the "notification-type" element is the event stringof an event that can be emitted by this MBean.--><!ELEMENT notification-type (#PCDATA)><!ATTLIST notification-type id ID #IMPLIED><!-- The "operation" element describes a the signature of a public methodthat is accessible to management applications. The following attributesare supported:description Human-readable description of this operation.impact Indication of the impact of this method:ACTION (write like), ACTION-INFO (write+read like)INFO (read like), or UNKNOWN.name Name of this public method.returnType Fully qualified Java class name of the returntype of this method.--><!ELEMENT operation (descriptor?, parameter*)><!ATTLIST operation id ID #IMPLIED><!ATTLIST operation description CDATA #IMPLIED><!ATTLIST operation impact CDATA #IMPLIED><!ATTLIST operation name CDATA #IMPLIED> <!-- %VariableName; --><!ATTLIST operation returnType CDATA #IMPLIED> <!-- %ClassName; --><!-- The "parameter" element describes a single argument that will be passedto a constructor or operation. The following attributes are supported:description Human-readable description of this parameter.name Java language name of this parameter.type Fully qualified Java class name of this parameter.--><!ELEMENT parameter EMPTY><!ATTLIST parameter id ID #IMPLIED><!ATTLIST parameter description CDATA #IMPLIED><!ATTLIST parameter name CDATA #IMPLIED> <!-- %VariableName; --><!ATTLIST parameter type CDATA #IMPLIED> <!-- %ClassName; -->