Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 771 | blopes | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one or more |
||
| 3 | contributor license agreements. See the NOTICE file distributed with |
||
| 4 | this work for additional information regarding copyright ownership. |
||
| 5 | The ASF licenses this file to You under the Apache License, Version 2.0 |
||
| 6 | (the "License"); you may not use this file except in compliance with |
||
| 7 | the License. You may obtain a copy of the License at |
||
| 8 | |||
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
||
| 10 | |||
| 11 | Unless required by applicable law or agreed to in writing, software |
||
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
||
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||
| 14 | See the License for the specific language governing permissions and |
||
| 15 | limitations under the License. |
||
| 16 | --> |
||
| 17 | |||
| 18 | |||
| 19 | <!-- |
||
| 20 | DTD for the Model MBeans Configuration File |
||
| 21 | |||
| 22 | To support validation of your configuration file, include the following |
||
| 23 | DOCTYPE element at the beginning (after the "xml" declaration): |
||
| 24 | |||
| 25 | <!DOCTYPE mbeans-descriptors PUBLIC |
||
| 26 | "-//Apache Software Foundation//DTD Model MBeans Configuration File" |
||
| 27 | "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd"> |
||
| 28 | --> |
||
| 29 | |||
| 30 | |||
| 31 | <!-- ========== Defined Types ============================================= --> |
||
| 32 | <!-- This DTD has been modified not to use these entities as their use can --> |
||
| 33 | <!-- trigger errors when entity expansion is limited or disabled. --> |
||
| 34 | <!-- See https://bz.apache.org/bugzilla/show_bug.cgi?id=64541 --> |
||
| 35 | |||
| 36 | <!-- A "Boolean" is the string representation of a boolean (true or false) |
||
| 37 | variable. |
||
| 38 | --> |
||
| 39 | <!ENTITY % Boolean "(true|false|yes|no)"> |
||
| 40 | |||
| 41 | |||
| 42 | <!-- A "ClassName" is the fully qualified name of a Java class that is |
||
| 43 | instantiated to provide the functionality of the enclosing element. |
||
| 44 | --> |
||
| 45 | <!ENTITY % ClassName "CDATA"> |
||
| 46 | |||
| 47 | |||
| 48 | <!-- A "MethodName" is the name of a constructor or method, which must |
||
| 49 | be legal according to the syntax requirements of the Java language. |
||
| 50 | --> |
||
| 51 | <!ENTITY % MethodName "CDATA"> |
||
| 52 | |||
| 53 | |||
| 54 | <!-- A "VariableName" is the name of a variable or parameter, which must |
||
| 55 | be legal according to the syntax requirements of the Java language. |
||
| 56 | --> |
||
| 57 | <!ENTITY % VariableName "CDATA"> |
||
| 58 | |||
| 59 | |||
| 60 | <!-- ========== Element Definitions ======================================= --> |
||
| 61 | |||
| 62 | |||
| 63 | <!-- The "mbeans-descriptors" element is the root of the configuration file |
||
| 64 | hierarchy, and contains nested elements for all of the other |
||
| 65 | configuration settings. Remaining element definitions are listed |
||
| 66 | in alphabetical order. |
||
| 67 | --> |
||
| 68 | <!ELEMENT mbeans-descriptors (mbean*)> |
||
| 69 | <!ATTLIST mbeans-descriptors id ID #IMPLIED> |
||
| 70 | |||
| 71 | |||
| 72 | <!-- The "attribute" element describes a JavaBeans property of an MBean. |
||
| 73 | The following attributes are supported: |
||
| 74 | |||
| 75 | description Human-readable description of this attribute. |
||
| 76 | |||
| 77 | displayName Display name of this attribute. |
||
| 78 | |||
| 79 | getMethod Name of the property getter method, if it does |
||
| 80 | not follow standard JavaBeans naming patterns. |
||
| 81 | |||
| 82 | is Boolean value indicating whether or not this |
||
| 83 | attribute is a boolean with an "is" getter method. |
||
| 84 | By default, this is set to "false". |
||
| 85 | |||
| 86 | name Name of this JavaBeans property, conforming to |
||
| 87 | standard naming design patterns. |
||
| 88 | |||
| 89 | readable Boolean value indicating whether or not this |
||
| 90 | attribute is readable by management applications. |
||
| 91 | By default, this is set to "true". |
||
| 92 | |||
| 93 | setMethod Name of the property setter method, if it does |
||
| 94 | not follow standard JavaBeans naming patterns. |
||
| 95 | |||
| 96 | type Fully qualified Java class name of this attribute. |
||
| 97 | |||
| 98 | writeable Boolean value indicating whether or not this |
||
| 99 | attribute is writeable by management applications. |
||
| 100 | By default, this is set to "true". |
||
| 101 | --> |
||
| 102 | <!ELEMENT attribute (descriptor?)> |
||
| 103 | <!ATTLIST attribute id ID #IMPLIED> |
||
| 104 | <!ATTLIST attribute description CDATA #IMPLIED> |
||
| 105 | <!ATTLIST attribute displayName CDATA #IMPLIED> |
||
| 106 | <!ATTLIST attribute getMethod CDATA #IMPLIED> <!-- %MethodName; --> |
||
| 107 | <!ATTLIST attribute is (true|false|yes|no) #IMPLIED> <!-- %Boolean; --> |
||
| 108 | <!ATTLIST attribute name CDATA #IMPLIED> <!-- %VariableName; --> |
||
| 109 | <!ATTLIST attribute readable (true|false|yes|no) #IMPLIED> <!-- %Boolean; --> |
||
| 110 | <!ATTLIST attribute setMethod CDATA #IMPLIED> <!-- %MethodName; --> |
||
| 111 | <!ATTLIST attribute type CDATA #IMPLIED> <!-- %ClassName; --> |
||
| 112 | <!ATTLIST attribute writeable (true|false|yes|no) #IMPLIED> <!-- %Boolean; --> |
||
| 113 | |||
| 114 | |||
| 115 | <!-- The "constructor" element describes a public constructor for the |
||
| 116 | underlying actual class. It may contain nested "parameter" elements |
||
| 117 | for the various arguments to this constructor. The following attributes |
||
| 118 | are supported: |
||
| 119 | |||
| 120 | displayName Display name of this constructor. |
||
| 121 | |||
| 122 | name Name of this constructor (by Java convention, this must |
||
| 123 | be the same as the base class name). |
||
| 124 | --> |
||
| 125 | <!ELEMENT constructor (descriptor?, parameter*)> |
||
| 126 | <!ATTLIST constructor id ID #IMPLIED> |
||
| 127 | <!ATTLIST constructor displayName CDATA #IMPLIED> |
||
| 128 | <!ATTLIST constructor name CDATA #IMPLIED> <!-- %VariableName; --> |
||
| 129 | |||
| 130 | |||
| 131 | <!-- The "descriptor" element groups a set of descriptor fields whose |
||
| 132 | values will be included in the Descriptor for the corresponding |
||
| 133 | metadata info classes. |
||
| 134 | --> |
||
| 135 | <!ELEMENT descriptor (field*)> |
||
| 136 | <!ATTLIST descriptor id ID #IMPLIED> |
||
| 137 | |||
| 138 | |||
| 139 | <!-- The "field" element represents a single name/value pair that will |
||
| 140 | be included in the Descriptor corresponding to our enclosing |
||
| 141 | "descriptor" element. The following attributes are supported: |
||
| 142 | |||
| 143 | name Field name of the field to be included |
||
| 144 | |||
| 145 | value Field value of the field to be included |
||
| 146 | (will be stored as a String) |
||
| 147 | --> |
||
| 148 | <!ELEMENT field EMPTY> |
||
| 149 | <!ATTLIST field id ID #IMPLIED> |
||
| 150 | <!ATTLIST field name CDATA #REQUIRED> |
||
| 151 | <!ATTLIST field value CDATA #REQUIRED> |
||
| 152 | |||
| 153 | |||
| 154 | |||
| 155 | <!-- The "mbean" element describes a particular JMX ModelMBean implementation, |
||
| 156 | including the information necessary to construct the corresponding |
||
| 157 | ModelMBeanInfo structures. The following attributes are supported: |
||
| 158 | |||
| 159 | className Fully qualified Java class name of the ModelMBean |
||
| 160 | implementation class. If not specified, the standard |
||
| 161 | implementation provided by JMX will be utilized. |
||
| 162 | |||
| 163 | description Human-readable description of this managed bean. |
||
| 164 | |||
| 165 | domain The JMX MBeanServer domain in which the ModelMBean |
||
| 166 | created by this managed bean should be registered, |
||
| 167 | when creating its ObjectName. |
||
| 168 | |||
| 169 | group Optional name of a "grouping classification" that can |
||
| 170 | be used to select groups of similar MBean implementation |
||
| 171 | classes. |
||
| 172 | |||
| 173 | name Unique name of this MBean (normally corresponds to the |
||
| 174 | base class name of the corresponding server component). |
||
| 175 | |||
| 176 | type Fully qualified Java class name of the underlying |
||
| 177 | managed resource implementation class. |
||
| 178 | --> |
||
| 179 | <!ELEMENT mbean (descriptor?, attribute*, constructor*, notification*, operation*)> |
||
| 180 | <!ATTLIST mbean id ID #IMPLIED> |
||
| 181 | <!ATTLIST mbean className CDATA #IMPLIED> <!-- %ClassName; --> |
||
| 182 | <!ATTLIST mbean description CDATA #IMPLIED> |
||
| 183 | <!ATTLIST mbean domain CDATA #IMPLIED> |
||
| 184 | <!ATTLIST mbean group CDATA #IMPLIED> |
||
| 185 | <!ATTLIST mbean name CDATA #IMPLIED> <!-- %MethodName; --> |
||
| 186 | <!ATTLIST mbean type CDATA #IMPLIED> <!-- %ClassName; --> |
||
| 187 | |||
| 188 | |||
| 189 | <!-- The "notification" element describes the notification types that are |
||
| 190 | generated by a particular managed bean. The following attributes |
||
| 191 | are supported: |
||
| 192 | |||
| 193 | description Human-readable description of these notification events. |
||
| 194 | |||
| 195 | name Name of this set of notification event types. |
||
| 196 | --> |
||
| 197 | <!ELEMENT notification (descriptor?, notification-type*)> |
||
| 198 | <!ATTLIST notification id ID #IMPLIED> |
||
| 199 | <!ATTLIST notification description CDATA #IMPLIED> |
||
| 200 | <!ATTLIST notification name CDATA #IMPLIED> <!-- %VariableName; --> |
||
| 201 | |||
| 202 | |||
| 203 | <!-- The nested content of the "notification-type" element is the event string |
||
| 204 | of an event that can be emitted by this MBean. |
||
| 205 | --> |
||
| 206 | <!ELEMENT notification-type (#PCDATA)> |
||
| 207 | <!ATTLIST notification-type id ID #IMPLIED> |
||
| 208 | |||
| 209 | |||
| 210 | <!-- The "operation" element describes a the signature of a public method |
||
| 211 | that is accessible to management applications. The following attributes |
||
| 212 | are supported: |
||
| 213 | |||
| 214 | description Human-readable description of this operation. |
||
| 215 | |||
| 216 | impact Indication of the impact of this method: |
||
| 217 | ACTION (write like), ACTION-INFO (write+read like) |
||
| 218 | INFO (read like), or UNKNOWN. |
||
| 219 | |||
| 220 | name Name of this public method. |
||
| 221 | |||
| 222 | returnType Fully qualified Java class name of the return |
||
| 223 | type of this method. |
||
| 224 | --> |
||
| 225 | <!ELEMENT operation (descriptor?, parameter*)> |
||
| 226 | <!ATTLIST operation id ID #IMPLIED> |
||
| 227 | <!ATTLIST operation description CDATA #IMPLIED> |
||
| 228 | <!ATTLIST operation impact CDATA #IMPLIED> |
||
| 229 | <!ATTLIST operation name CDATA #IMPLIED> <!-- %VariableName; --> |
||
| 230 | <!ATTLIST operation returnType CDATA #IMPLIED> <!-- %ClassName; --> |
||
| 231 | |||
| 232 | |||
| 233 | <!-- The "parameter" element describes a single argument that will be passed |
||
| 234 | to a constructor or operation. The following attributes are supported: |
||
| 235 | |||
| 236 | description Human-readable description of this parameter. |
||
| 237 | |||
| 238 | name Java language name of this parameter. |
||
| 239 | |||
| 240 | type Fully qualified Java class name of this parameter. |
||
| 241 | --> |
||
| 242 | <!ELEMENT parameter EMPTY> |
||
| 243 | <!ATTLIST parameter id ID #IMPLIED> |
||
| 244 | <!ATTLIST parameter description CDATA #IMPLIED> |
||
| 245 | <!ATTLIST parameter name CDATA #IMPLIED> <!-- %VariableName; --> |
||
| 246 | <!ATTLIST parameter type CDATA #IMPLIED> <!-- %ClassName; --> |