File: mbeans-descriptors.xml

package info (click to toggle)
libcommons-modeler-java 2.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 800 kB
  • ctags: 843
  • sloc: java: 5,961; xml: 1,431; makefile: 11
file content (448 lines) | stat: -rw-r--r-- 15,730 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
<?xml version="1.0"?>
<!--
    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 mbeans-descriptors PUBLIC
 "-//Apache Software Foundation//DTD Model MBeans Configuration File"
 "src/java/org/apache/commons/modeler/mbeans-descriptors.dtd">

<!-- Descriptions of JMX MBeans for Catalina -->

<mbeans-descriptors>

  <mbean         name="HttpConnector"
            className="org.apache.catalina.mbeans.HttpConnectorModelMBean"
          description="HTTP/1.1 Connector for Tomcat Standalone"
                 type="org.apache.catalina.connector.http.HttpConnector">

    <descriptor>
      <field     name="field1" value="HttpConnector/field1"/>
      <field     name="field2" value="HttpConnector/field2"/>
    </descriptor>


    <attribute   name="acceptCount"
          description="Maximum socket accept queue length"
                 type="int">
      <descriptor>
        <field   name="field1" value="HttpConnector.acceptCount/field1"/>
        <field   name="field2" value="HttpConnector.acceptCount/field2"/>
      </descriptor>
    </attribute>

    <attribute   name="address"
          description="Specific IP address to bind to"
                 type="java.lang.String"/>

    <attribute   name="available"
          description="Is this Connector available for processing requests?"
                 type="boolean"
            writeable="false"/>

    <attribute   name="bufferSize"
          description="Input buffer size (bytes)"
                 type="int"/>

    <attribute   name="chunkingAllowed"
          description="Is chunked input/output allowed?"
                   is="true"
            setMethod="setAllowChunking"
                 type="boolean"/>

    <attribute   name="connectionTimeout"
          description="Connection timeout (seconds)"
                 type="int"/>

    <attribute   name="container"
          description="Container (Engine) processing our requests"
                 type="org.apache.catalina.Container"
            writeable="false"/>

    <attribute   name="curProcessors"
          description="Current number of processing threads"
                 type="int"
            writeable="false"/>

    <attribute   name="debug"
          description="Log debugging detail level (0=none)"
                 type="int"/>

    <attribute   name="enableLookups"
          description="Are DNS lookups of remote host name enabled?"
                 type="boolean"/>

    <attribute   name="factory"
          description="Server socket factory for this Connector"
                 type="org.apache.catalina.net.ServerSocketFactory"/>

    <attribute   name="maxProcessors"
          description="Maximum number of processing threads"
                 type="int"/>

    <attribute   name="minProcessors"
          description="Minimum number of processing threads"
                 type="int"/>

    <attribute   name="port"
          description="TCP port number to listen on"
                 type="int"/>

    <attribute   name="proxyName"
          description="Proxy server name for this Connector"
                 type="java.lang.String"/>

    <attribute   name="proxyPort"
          description="Proxy server port for this Connector"
                 type="int"/>

    <attribute   name="redirectPort"
          description="SSL port associated with this non-SSL port"
                 type="int"/>

    <attribute   name="scheme"
          description="Protocol name for this Connector (http, https)"
                 type="java.lang.String"/>

    <attribute   name="secure"
          description="Is this a secure (SSL) Connector?"
                 type="boolean"/>

    <attribute   name="service"
          description="Service that owns this Connector"
                 type="org.apache.catalina.Service"/>

    <attribute   name="tcpNoDelay"
          description="Set the TCP no-delay option on our connections?"
                 type="boolean"/>

    <constructor name="HttpConnector">
      <descriptor>
        <field   name="field1" value="HttpConnector.constructor/field1"/>
        <field   name="field2" value="HttpConnector.constructor/field2"/>
      </descriptor>
    </constructor>

    <notification name="Problem">
      <descriptor>
        <field   name="field1" value="HttpConnector.problem/field1"/>
        <field   name="field2" value="HttpConnector.problem/field2"/>
      </descriptor>
      <notification-type>This is a problem</notification-type>
    </notification>


    <operation   name="initialize"
          description="Perform pre-startup initialization"
               impact="ACTION"
           returnType="void">
      <descriptor>
        <field   name="field1" value="HttpConnector.initialize/field1"/>
        <field   name="field2" value="HttpConnector.initialize/field2"/>
      </descriptor>
    </operation>

    <operation   name="start"
          description="Start this Connector and processing threads"
               impact="ACTION"
           returnType="void"/>

    <operation   name="stop"
          description="Stop this Connector and processing threads"
               impact="ACTION"
           returnType="void"/>

  </mbean>


  <mbean         name="StandardEngine"
            className="org.apache.catalina.mbeans.StandardEngineModelMBean"
          description="Standard Engine Component"
                group="org.apache.catalina.Container"
                 type="org.apache.catalina.core.StandardEngine">

    <!-- ===== Container Attributes ===== -->

    <attribute   name="debug"
          description="Log debugging detail level (0=none)"
                 type="int"/>

    <!-- Engine has no "loader" -->

    <attribute   name="logger"
          description="Message logger for this Engine and child components"
                 type="org.apache.catalina.Logger"/>

    <!-- Engine has no "manager" -->

    <attribute   name="name"
          description="Unique name of this Engine"
                 type="java.lang.String"/>

    <!-- Engine has no "parent" -->

    <attribute   name="parentClassLoader"
          description="Parent class loader for web applications"
                 type="java.lang.ClassLoader"/>

    <attribute   name="realm"
          description="Authentication data for this Engine and child components"
                 type="org.apache.catalina.Realm"/>

    <!-- Engine has no "resources" -->

    <!-- ===== Engine Attributes ===== -->

    <attribute   name="defaultHost"
          description="Name of the default Host for this Engine"
                 type="java.lang.String"/>

    <attribute   name="mapperClass"
          description="Java class name of our default Mapper implementation"
                 type="java.lang.String"/>

    <attribute   name="service"
          description="Service that owns this Engine"
                 type="org.apache.catalina.Service"/>

    <!-- ===== Constructors ===== -->

    <constructor name="StandardEngine"/>

    <!-- ===== Container Operations ===== -->

    <operation   name="addChild"
          description="Add new child Container (Host) to this Engine"
               impact="ACTION"
           returnType="void">
      <parameter name="child"
          description="Container (Host) to be added"
                 type="org.apache.catalina.Container"/>
    </operation>

    <operation   name="addMapper"
          description="Add new request mapper to this Engine"
               impact="ACTION"
           returnType="void">
      <parameter name="mapper"
          description="The Mapper to be added"
                 type="org.apache.catalina.Mapper"/>
    </operation>

    <operation   name="findChild"
          description="Find specified child Container (Host) of this Engine"
               impact="INFO"
           returnType="org.apache.catalina.Container">
      <parameter name="name"
          description="Name of the requested child Container (Host)"
                 type="java.lang.String"/>
    </operation>

    <operation   name="findChildren"
          description="Find all child Containers (Hosts) of this Engine"
               impact="INFO"
           returnType="org.apache.catalina.Container"/>

    <operation   name="findMapper"
          description="Find specified request mapper of this Engine"
               impact="INFO"
           returnType="org.apache.catalina.Mapper">
      <parameter name="protocol"
          description="Protocol for which a mapper is requested (http)"
                 type="java.lang.String"/>
    </operation>

    <operation   name="findMappers"
          description="Find all request mappers of this Engine"
               impact="INFO"
           returnType="org.apache.catalina.Mapper[]"/>

    <operation   name="removeChild"
          description="Remove existing child Container (Host) from this Engine"
               impact="ACTION"
           returnType="void">
      <parameter name="child"
          description="Container (Host) to be removed"
                 type="org.apache.catalina.Container"/>
    </operation>

    <operation   name="removeMapper"
          description="Remove existing request mapper of this engine"
               impact="ACTION"
           returnType="void">
      <parameter name="mapper"
          description="Request mapper to be removed"
                 type="org.apache.catalina.Mapper"/>
    </operation>

    <!-- ===== Engine Operations ===== -->

    <operation   name="addDefaultContext"
          description="Set new DefaultContext for this Engine"
               impact="ACTION"
           returnType="void">
      <parameter name="defaultContext"
          description="The new DefaultContext for this Engine"
                 type="org.apache.catalina.DefaultContext"/>
    </operation>

    <operation   name="start"
          description="Start this Engine and all child components"
               impact="ACTION"
           returnType="void"/>

    <operation   name="stop"
          description="Stop this Engine and all child components"
               impact="ACTION"
           returnType="void"/>

  </mbean>


  <mbean         name="StandardServer"
            className="org.apache.catalina.mbeans.StandardServerModelMBean"
          description="Standard Server Component"
                 type="org.apache.catalina.core.StandardServer">

    <attribute   name="port"
          description="TCP port for shutdown messages"
                 type="int"/>

    <attribute   name="shutdown"
          description="Shutdown password"
                 type="java.lang.String"/>

    <constructor name="StandardServer"/>

    <operation   name="addService"
          description="Add a new child Service"
               impact="ACTION"
           returnType="void">
      <parameter name="service"
          description="The Service to be added"
                 type="org.apache.catalina.Service"/>
    </operation>

    <!-- FIXME:  Should this be exposed? -->
    <operation   name="await"
          description="Wait for a proper shutdown command"
               impact="ACTION"
           returnType="void"/>

    <!-- FIXME:  Add this operation -->
    <operation   name="findService"
          description="Find the specified child Service"
               impact="INFO"
           returnType="org.apache.catalina.Service">
      <parameter name="name"
          description="Name of the requested service"
                 type="java.lang.String"/>
    </operation>

    <operation   name="findServices"
          description="Return all child Services"
               impact="INFO"
           returnType="org.apache.catalina.Service[]"/>

    <operation   name="initialize"
          description="Perform pre-startup initialization"
               impact="ACTION"
           returnType="void"/>

    <operation   name="removeService"
          description="Remove an existing child Service"
               impact="ACTION"
           returnType="void"> <!-- void type? -->
      <parameter name="service"
          description="The service to be removed"
                 type="org.apache.catalina.Service"/>
    </operation>

    <operation   name="start"
          description="Start this Server and all children"
               impact="ACTION"
           returnType="void"/>

    <operation   name="stop"
          description="Stop this Server and all children"
               impact="ACTION"
           returnType="void"/>

  </mbean>


  <mbean         name="StandardService"
            className="org.apache.catalina.mbeans.StandardServiceModelMBean"
          description="Standard Service Component"
                 type="org.apache.catalina.core.StandardService">

    <attribute   name="container"
          description="The Container (Engine) processing requests for this Service"
                 type="org.apache.catalina.Container"/>

    <attribute   name="name"
          description="Unique name of this Service"
                 type="java.lang.String"/>

    <!-- FIXME - Add this attribute -->
    <attribute   name="server"
          description="The Server that owns this Service"
                 type="org.apache.catalina.Server"
            writeable="false"/>

    <constructor name="StandardService"/>

    <operation   name="addConnector"
          description="Add a new associated Connector"
               impact="ACTION"
           returnType="void">
      <parameter name="connector"
          description="The Connector to be added"
                 type="org.apache.catalina.Connector"/>
    </operation>

    <operation   name="findConnectors"
          description="Return all associated Connectors"
               impact="ACTION"
           returnType="org.apache.catalina.Connector[]"/>

    <operation   name="initialize"
          description="Perform pre-startup initialization"
               impact="ACTION"
           returnType="void"/>

    <operation   name="removeConnector"
          description="Remove an existing associated Connector"
               impact="ACTION"
           returnType="void">
      <parameter name="connector"
          description="The Connector to be removed"
                 type="org.apache.catalina.Connector"/>
    </operation>

    <operation   name="start"
          description="Start this Service and all children"
               impact="ACTION"
           returnType="void"/>

    <operation   name="stop"
          description="Stop this Service and all children"
               impact="ACTION"
           returnType="void"/>

  </mbean>


</mbeans-descriptors>