blob: 94016e6b1e647ff6679d34a80166194bdaf73309 [file] [log] [blame]
刘洪青6266f992017-05-15 21:21:03 +08001<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Catalina Functional Specifications (7.0.77) - Tomcat MBean Names</title><meta name="author" content="Craig McClanahan"><meta name="author" content="Amy Roh"><style type="text/css" media="print">
2 .noPrint {display: none;}
3 td#mainBody {width: 100%;}
4</style><style type="text/css">
5code {background-color:rgb(224,255,255);padding:0 0.1em;}
6code.attributeName, code.propertyName {background-color:transparent;}
7
8
9table {
10 border-collapse: collapse;
11 text-align: left;
12}
13table *:not(table) {
14 /* Prevent border-collapsing for table child elements like <div> */
15 border-collapse: separate;
16}
17
18th {
19 text-align: left;
20}
21
22
23div.codeBox pre code, code.attributeName, code.propertyName, code.noHighlight, .noHighlight code {
24 background-color: transparent;
25}
26div.codeBox {
27 overflow: auto;
28 margin: 1em 0;
29}
30div.codeBox pre {
31 margin: 0;
32 padding: 4px;
33 border: 1px solid #999;
34 border-radius: 5px;
35 background-color: #eff8ff;
36 display: table; /* To prevent <pre>s from taking the complete available width. */
37 /*
38 When it is officially supported, use the following CSS instead of display: table
39 to prevent big <pre>s from exceeding the browser window:
40 max-width: available;
41 width: min-content;
42 */
43}
44
45div.codeBox pre.wrap {
46 white-space: pre-wrap;
47}
48
49
50table.defaultTable tr, table.detail-table tr {
51 border: 1px solid #CCC;
52}
53
54table.defaultTable tr:nth-child(even), table.detail-table tr:nth-child(even) {
55 background-color: #FAFBFF;
56}
57
58table.defaultTable tr:nth-child(odd), table.detail-table tr:nth-child(odd) {
59 background-color: #EEEFFF;
60}
61
62table.defaultTable th, table.detail-table th {
63 background-color: #88b;
64 color: #fff;
65}
66
67table.defaultTable th, table.defaultTable td, table.detail-table th, table.detail-table td {
68 padding: 5px 8px;
69}
70
71
72p.notice {
73 border: 1px solid rgb(255, 0, 0);
74 background-color: rgb(238, 238, 238);
75 color: rgb(0, 51, 102);
76 padding: 0.5em;
77 margin: 1em 2em 1em 1em;
78}
79</style></head><body bgcolor="#ffffff" text="#000000" link="#525D76" alink="#525D76" vlink="#525D76"><table border="0" width="100%" cellspacing="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img src="../images/tomcat.gif" align="right" alt="
Hongqing Liufd5ee812014-05-10 16:32:51 +080080 Catalina Functional Specifications
刘洪青6266f992017-05-15 21:21:03 +080081 " border="0"></a></td><td><h1><font face="arial,helvetica,sanserif">Apache Tomcat 7</font></h1><font face="arial,helvetica,sanserif">Version 7.0.77, Mar 28 2017</font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img src="../images/asf-logo.svg" align="right" alt="Apache Logo" border="0" style="width: 266px;height: 83px;"></a></td></tr></table><table border="0" width="100%" cellspacing="4"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr noshade size="1"></td></tr><tr><!--LEFT SIDE NAVIGATION--><td width="20%" valign="top" nowrap class="noPrint"><p><strong>Links</strong></p><ul><li><a href="../index.html">Docs Home</a></li><li><a href="index.html">Functional Specs</a></li><li><a href="http://wiki.apache.org/tomcat/FAQ">FAQ</a></li><li><a href="#comments_section">User Comments</a></li></ul><p><strong>Administrative Apps</strong></p><ul><li><a href="fs-admin-apps.html">Overall Requirements</a></li><li><a href="mbean-names.html">Tomcat MBean Names</a></li><li><a href="fs-admin-objects.html">Administered Objects</a></li><li><a href="fs-admin-opers.html">Supported Operations</a></li></ul><p><strong>Internal Servlets</strong></p><ul><li><a href="fs-default.html">Default Servlet</a></li></ul><p><strong>Realm Implementations</strong></p><ul><li><a href="fs-jdbc-realm.html">JDBC Realm</a></li><li><a href="fs-jndi-realm.html">JNDI Realm</a></li><li><a href="fs-memory-realm.html">Memory Realm</a></li></ul></td><!--RIGHT SIDE MAIN BODY--><td width="80%" valign="top" align="left" id="mainBody"><h1>Tomcat MBean Names</h1><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Table of Contents"><!--()--></a><a name="Table_of_Contents"><strong>Table of Contents</strong></a></font></td></tr><tr><td><blockquote>
Hongqing Liufd5ee812014-05-10 16:32:51 +080082<ul><li><a href="#Background">Background</a></li><li><a href="#Catalina_Object_Hierarchy">Catalina Object Hierarchy</a></li><li><a href="#MBean_Groups_and_Names">MBean Groups and Names</a></li><li><a href="#JSR-77_Cross_Reference">JSR-77 Cross Reference</a></li><li><a href="#JSR-88_Cross_Reference">JSR-88 Cross Reference</a></li></ul>
83</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Background"><strong>Background</strong></a></font></td></tr><tr><td><blockquote>
84
85 <p>We will be using <em>JMX MBeans</em> as the technology for
86 implementing manageability of Tomcat.</p>
87
88 <p>One of the key concepts of JMX (and JSR-77) is that each management
89 bean has a unique name in the MBeanServer's registry, and that
90 management applications can utilize these names to retrieve the MBean
91 of interest to them for a particular management operation.
92 This document proposes a naming convention for MBeans that allows easy
93 calculation of the name for a particular MBean. For background
94 information on JMX MBean names, see the <em>Java Management Extensions
95 Instrumentation and Agent Specification</em>, version 1.0, section 6.
96 In particular, we will be discussing the String Representation of
97 <code>ObjectName</code> instances.</p>
98
99</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="Catalina Object Hierarchy"><!--()--></a><a name="Catalina_Object_Hierarchy"><strong>Catalina Object Hierarchy</strong></a></font></td></tr><tr><td><blockquote>
100
101<p>Tomcat's servlet container implementation, called Catalina, can be
102represented as a hierarchy of objects that contain references to each other.
103The object hierarchy can be represented as a tree, or (isomorphically) based
104on the nesting of configuration elements in the <code>conf/server.xml</code>
105file that is traditionally used to configure Tomcat stand-alone.</p>
106
107<p>The valid component nestings for Catalina are depicted in the following
108table, with columns that contain the following values:</p>
109<ul>
110<li><em>Pattern</em> - Nesting pattern of XML elements (in the
111 <code>conf/server.xml</code> file) used to configure this component.</li>
112<li><em>Cardinality</em> - Minimum and maximum number of occurrences of
113 this element at this nesting position, which also corresponds to the
114 minimum and maximum number of Catalina components.</li>
115<li><em>Identifier</em> - Name of the JavaBeans property of this component
116 that represents the unique identifier (within the nested hierarchy),
117 if any.</li>
118<li><em>MBean ObjectName</em> - The portion of the MBean object name that
119 appears <strong>after</strong> the domain name. For now, it should be
120 assumed that all of these MBeans appear in the default JMX domain.</li>
121</ul>
122
123<p>In the <em>MBean ObjectName</em> descriptions, several types of symbolic
124expressions are utilized to define variable text that is replaced by
125corresponding values:</p>
126<ul>
127<li><em>${GROUP}</em> - One of the standard MBean names of the specified
128 "group" category. For example, the expression <code>${REALM}</code>
129 represents the values like <code>JDBCRealm</code> and <code>JAASRealm</code>
130 that identify the various MBeans for possible <code>Realm</code> components.</li>
131<li><em>${name}</em> - Replaced by the value of property <code>name</code>
132 from the current component.</li>
133<li><em>${parent.name}</em> - Replaced by the value of property
134 <code>name</code> from a parent of the current component, with the
135 parent's type identified by <em>parent</em>.</li>
136<li><em>${###}</em> - An arbitrary numeric identifier that preserves
137 order but has no other particular meaning. In general, the server will
138 assign numeric values to existing instances with large gaps into which
139 new items can be configured if desired.</li>
140</ul>
141
142<table border="1" cellpadding="5">
143
144 <tr>
145 <th align="center" bgcolor="aqua">Pattern</th>
146 <th align="center" bgcolor="aqua">Cardinality</th>
147 <th align="center" bgcolor="aqua">Identifier</th>
148 <th align="center" bgcolor="aqua">MBean ObjectName</th>
149 </tr>
150
151 <tr>
152 <td>Server</td>
153 <td align="center">1..1</td>
154 <td align="center">(none)</td>
155 <td><code>type=${SERVER}</code></td>
156 </tr>
157
158 <tr>
159 <td>Server / Listener</td>
160 <td align="center">0..n</td>
161 <td align="center">(none)</td>
162 <td><code>type=${LISTENER}, sequence=${###}</code></td>
163 </tr>
164
165 <tr>
166 <td>Server / Service</td>
167 <td align="center">1..n</td>
168 <td align="center"><code>name</code></td>
169 <td><code>type=${SERVICE}, name=${name}</code></td>
170 </tr>
171
172 <tr>
173 <td>Server / Service / Connector</td>
174 <td align="center">1..n</td>
175 <td align="center"><code>address, port</code></td>
176 <td><code>type=${CONNECTOR}, service=${service}, port=${port},
177 address=${address}</code></td>
178 </tr>
179
180 <tr>
181 <td>Server / Service / Connector / Factory</td>
182 <td align="center">0..1</td>
183 <td align="center">(none)</td>
184 <td>(Only defined explicitly for an SSL connector, but can be treated
185 as part of the connector component)</td>
186 </tr>
187
188 <tr>
189 <td>Server / Service / Connector / Listener</td>
190 <td align="center">0..n</td>
191 <td align="center">(none)</td>
192 <td><code>type=${LISTENER}, sequence=${###}, service=${service},
193 port=${connector.port}, address=${connector.address}</code></td>
194 </tr>
195
196 <tr>
197 <td>Server / Service / Engine</td>
198 <td align="center">1..1</td>
199 <td align="center">(none)</td>
200 <td><code>type=${ENGINE}, service=${service.name}</code></td>
201 </tr>
202
203 <tr>
204 <td>Server / Service / Engine / Host</td>
205 <td align="center">1..n</td>
206 <td align="center"><code>name</code></td>
207 <td><code>type=${HOST}, host=${name},
208 service=${service.name}</code></td>
209 </tr>
210
211 <tr>
212 <td>Server / Service / Engine / Host / Context</td>
213 <td align="center">1..n</td>
214 <td align="center"><code>path</code></td>
刘洪青6266f992017-05-15 21:21:03 +0800215 <td><code>type=${CONTEXT}, context=${name}, host=${host.name},
Hongqing Liufd5ee812014-05-10 16:32:51 +0800216 service=${service.name}</code></td>
217 </tr>
218
219 <tr>
220 <td>Server / Service / Engine / Host / Context / InstanceListener</td>
221 <td align="center">0..n</td>
222 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800223 <td><code>type=${INSTANCE-LISTENER}, sequence=${###},
224 context=${context.name}, host=${host.name},
225 service=${service.name}</code></td>
Hongqing Liufd5ee812014-05-10 16:32:51 +0800226 </tr>
227
228 <tr>
229 <td>Server / Service / Engine / Host / Context / Listener</td>
230 <td align="center">0..n</td>
231 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800232 <td><code>type=${LISTENER}, sequence=${###}, context=${context.name},
Hongqing Liufd5ee812014-05-10 16:32:51 +0800233 host=${host.name}, service=${service.name}</code></td>
234 </tr>
235
236 <tr>
237 <td>Server / Service / Engine / Host / Context / Loader</td>
238 <td align="center">0..1</td>
239 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800240 <td><code>type=${LOADER}, context=${context.name}, host=${host.name},
Hongqing Liufd5ee812014-05-10 16:32:51 +0800241 service=${service.name}</code></td>
242 </tr>
243
244 <tr>
245 <td>Server / Service / Engine / Host / Context / Manager</td>
246 <td align="center">0..1</td>
247 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800248 <td><code>type=${MANAGER}, context=${context.name}, host=${host.name},
Hongqing Liufd5ee812014-05-10 16:32:51 +0800249 service=${service.name}</code></td>
250 </tr>
251
252 <tr>
253 <td>Server / Service / Engine / Host / Context / Realm</td>
254 <td align="center">0..1</td>
255 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800256 <td><code>type=${REALM}, context=${context.name}, host=${host.name},
Hongqing Liufd5ee812014-05-10 16:32:51 +0800257 service=${service.name}</code></td>
258 </tr>
259
260 <tr>
261 <td>Server / Service / Engine / Host / Context / Resources</td>
262 <td align="center">0..1</td>
263 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800264 <td><code>type=${RESOURCES}, context=${context.name}, host=${host.name},
Hongqing Liufd5ee812014-05-10 16:32:51 +0800265 service=${service.name}</code></td>
266 </tr>
267
268 <tr>
269 <td>Server / Service / Engine / Host / Context / Valve</td>
270 <td align="center">0..n</td>
271 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800272 <td><code>type=${VALVE}, sequence=${###}, context=${context.name},
Hongqing Liufd5ee812014-05-10 16:32:51 +0800273 host=${host.name}, service=${service.name}</code></td>
274 </tr>
275
276 <tr>
277 <td>Server / Service / Engine / Host / Context / Wrapper</td>
278 <td align="center">0..n</td>
279 <td align="center">(none)</td>
280 <td><code>j2eeType=Servlet,name=${name},
281 WebModule=//${host.name}/${context.name},
282 J2EEApplication=${context.J2EEApplication},
283 J2EEServer=${context.J2EEServer}</code></td>
284 </tr>
285
286 <tr>
287 <td>Server / Service / Engine / Host / Context / WrapperLifecycle</td>
288 <td align="center">0..n</td>
289 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800290 <td><code>type=${WRAPPER-LIFECYCLE}, sequence=${###},
291 context=${context.name}, host=${host.name},
292 service=${service.name}</code></td>
Hongqing Liufd5ee812014-05-10 16:32:51 +0800293 </tr>
294
295 <tr>
296 <td>Server / Service / Engine / Host / Context / WrapperListener</td>
297 <td align="center">0..n</td>
298 <td align="center">(none)</td>
刘洪青6266f992017-05-15 21:21:03 +0800299 <td><code>type=${WRAPPER-LISTENER}, sequence=${###},
300 context=${context.name}, host=${host.name},
301 service=${service.name}</code></td>
Hongqing Liufd5ee812014-05-10 16:32:51 +0800302 </tr>
303
304 <tr>
305 <td>Server / Service / Engine / Host / Listener</td>
306 <td align="center">0..n</td>
307 <td align="center">(none)</td>
308 <td><code>type=${LISTENER}, sequence=${###}, host=${host.name},
309 service=${service.name}</code></td>
310 </tr>
311
312 <tr>
313 <td>Server / Service / Engine / Host / Realm</td>
314 <td align="center">0..1</td>
315 <td align="center">(none)</td>
316 <td><code>type=${REALM}, host=${host.name},
317 service=${service.name}</code></td>
318 </tr>
319
320 <tr>
321 <td>Server / Service / Engine / Host / Valve</td>
322 <td align="center">0..n</td>
323 <td align="center">(none)</td>
324 <td><code>type=${VALVE}, sequence=${###},
325 host=${host.name}, service=${service.name}</code></td>
326 </tr>
327
328 <tr>
329 <td>Server / Service / Engine / Listener</td>
330 <td align="center">0..n</td>
331 <td align="center">(none)</td>
332 <td><code>type=${LISTENER}, sequence=${###}</code>
333 (<strong>FIXME</strong> - disambiguate from Server / Service /
334 Listener)</td>
335 </tr>
336
337 <tr>
338 <td>Server / Service / Engine / Realm</td>
339 <td align="center">0..1</td>
340 <td align="center">(none)</td>
341 <td><code>type=${REALM}, service=${service.name}</code></td>
342 </tr>
343
344 <tr>
345 <td>Server / Service / Engine / Valve</td>
346 <td align="center">0..n</td>
347 <td align="center">(none)</td>
348 <td><code>type=${VALVE}, sequence=${###},
349 service=${service.name}</code></td>
350 </tr>
351
352 <tr>
353 <td>Server / Service / Listener</td>
354 <td align="center">0..n</td>
355 <td align="center">(none)</td>
356 <td><code>type=${LISTENER}, sequence=${###}</code>
357 (<strong>FIXME</strong> - disambiguate from Server / Service /
358 Engine / Listener)</td>
359 </tr>
360
361</table>
362
363</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="MBean Groups and Names"><!--()--></a><a name="MBean_Groups_and_Names"><strong>MBean Groups and Names</strong></a></font></td></tr><tr><td><blockquote>
364
365<p>The following MBean names shall be defined in the resource file
366<code>/org/apache/catalina/mbeans/mbeans-descriptors.xml</code> (and
367therefore available for use within the Administration/Configuration
368web application for Tomcat):</p>
369
370<table border="1" cellpadding="5">
371
372 <tr>
373 <th align="center" bgcolor="aqua">MBean Name</th>
374 <th align="center" bgcolor="aqua">Group Name</th>
375 <th align="center" bgcolor="aqua">Catalina Interface</th>
376 <th align="center" bgcolor="aqua">Implementation Class</th>
377 </tr>
378
379 <tr>
380 <td><code>AccessLogValve</code></td>
381 <td align="center"><code>VALVE</code></td>
382 <td><code>org.apache.catalina.Valve</code></td>
383 <td><code>org.apache.catalina.valves.AccessLogValve</code></td>
384 </tr>
385
386 <tr>
387 <td><code>BasicAuthenticator</code></td>
388 <td align="center"><code>VALVE</code></td>
389 <td><code>org.apache.catalina.Valve</code></td>
390 <td><code>org.apache.catalina.authenticator.BasicAuthenticator</code></td>
391 </tr>
392
393 <tr>
394 <td><code>CertificatesValve</code></td>
395 <td align="center"><code>VALVE</code></td>
396 <td><code>org.apache.catalina.Valve</code></td>
397 <td><code>org.apache.catalina.valves.CertificatesValve</code></td>
398 </tr>
399
400 <tr>
401 <td><code>ContextConfig</code></td>
402 <td align="center"><code>LISTENER</code></td>
403 <td><code>org.apache.catalina.LifecycleListener</code></td>
404 <td><code>org.apache.catalina.startup.ContextConfig</code></td>
405 </tr>
406
407 <tr>
408 <td><code>ContextEnvironment</code></td>
409 <td align="center"><code>RESOURCES</code></td>
410 <td><code>org.apache.catalina.deploy.ContextEnvironment</code></td>
411 <td><code>org.apache.catalina.deploy.ContextEnvironment</code></td>
412 </tr>
413
414 <tr>
415 <td><code>ContextResource</code></td>
416 <td align="center"><code>RESOURCES</code></td>
417 <td><code>org.apache.catalina.deploy.ContextResource</code></td>
418 <td><code>org.apache.catalina.deploy.ContextResource</code></td>
419 </tr>
420
421 <tr>
422 <td><code>ContextResourceLink</code></td>
423 <td align="center"><code>RESOURCES</code></td>
424 <td><code>org.apache.catalina.deploy.ContextResourceLink</code></td>
425 <td><code>org.apache.catalina.deploy.ContextResourceLink</code></td>
426 </tr>
427
428 <tr>
429 <td><code>CoyoteConnector</code></td>
430 <td align="center"><code>CONNECTOR</code></td>
431 <td><code>org.apache.catalina.Connector</code></td>
432 <td><code>org.apache.coyote.tomcat4.CoyoteConnector</code></td>
433 </tr>
434
435 <tr>
436 <td><code>DigestAuthenticator</code></td>
437 <td align="center"><code>VALVE</code></td>
438 <td><code>org.apache.catalina.Valve</code></td>
439 <td><code>org.apache.catalina.authenticator.DigestAuthenticator</code></td>
440 </tr>
441
442 <tr>
443 <td><code>EngineConfig</code></td>
444 <td align="center"><code>LISTENER</code></td>
445 <td><code>org.apache.catalina.LifecycleListener</code></td>
446 <td><code>org.apache.catalina.startup.EngineConfig</code></td>
447 </tr>
448
449 <tr>
450 <td><code>ErrorReportValve</code></td>
451 <td align="center"><code>VALVE</code></td>
452 <td><code>org.apache.catalina.Valve</code></td>
453 <td><code>org.apache.catalina.valves.ErrorReportValve</code></td>
454 </tr>
455
456 <tr>
457 <td><code>ErrorDispatcherValve</code></td>
458 <td align="center"><code>VALVE</code></td>
459 <td><code>org.apache.catalina.Valve</code></td>
460 <td><code>org.apache.catalina.valves.ErrorDispatcherValve</code></td>
461 </tr>
462
463 <tr>
464 <td><code>FormAuthenticator</code></td>
465 <td align="center"><code>VALVE</code></td>
466 <td><code>org.apache.catalina.Valve</code></td>
467 <td><code>org.apache.catalina.authenticator.FormAuthenticator</code></td>
468 </tr>
469
470 <tr>
471 <td><code>Group</code></td>
472 <td align="center"><code>GROUP</code></td>
473 <td><code>org.apache.catalina.Group</code></td>
474 <td><code>org.apache.catalina.Group</code></td>
475 </tr>
476
477 <tr>
478 <td><code>HostConfig</code></td>
479 <td align="center"><code>LISTENER</code></td>
480 <td><code>org.apache.catalina.LifecycleListener</code></td>
481 <td><code>org.apache.catalina.startup.HostConfig</code></td>
482 </tr>
483
484 <tr>
485 <td><code>HttpConnector10</code></td>
486 <td align="center"><code>CONNECTOR</code></td>
487 <td><code>org.apache.catalina.Connector</code></td>
488 <td><code>org.apache.catalina.connector.http10.HttpConnector</code></td>
489 </tr>
490
491 <tr>
492 <td><code>HttpConnector11</code></td>
493 <td align="center"><code>CONNECTOR</code></td>
494 <td><code>org.apache.catalina.Connector</code></td>
495 <td><code>org.apache.catalina.connector.http.HttpConnector</code></td>
496 </tr>
497
498 <tr>
499 <td><code>JAASRealm</code></td>
500 <td align="center"><code>REALM</code></td>
501 <td><code>org.apache.catalina.Realm</code></td>
502 <td><code>org.apache.catalina.realm.JAASRealm</code></td>
503 </tr>
504
505 <tr>
506 <td><code>JDBCRealm</code></td>
507 <td align="center"><code>REALM</code></td>
508 <td><code>org.apache.catalina.Realm</code></td>
509 <td><code>org.apache.catalina.realm.JDBCRealm</code></td>
510 </tr>
511
512 <tr>
513 <td><code>JDBCUserDatabase</code></td>
514 <td align="center"><code>USERDATABASE</code></td>
515 <td><code>org.apache.catalina.users.JDBCUserDatabase</code></td>
516 <td><code>org.apache.catalina.users.JDBCUserDatabase</code></td>
517 </tr>
518
519 <tr>
520 <td><code>JNDIRealm</code></td>
521 <td align="center"><code>REALM</code></td>
522 <td><code>org.apache.catalina.Realm</code></td>
523 <td><code>org.apache.catalina.realm.JNDIRealm</code></td>
524 </tr>
525
526 <tr>
527 <td><code>MBeanFactory</code></td>
528 <td align="center"><code></code></td>
529 <td><code></code></td>
530 <td><code>org.apache.catalina.mbeans.MBeanFactory</code></td>
531 </tr>
532
533 <tr>
534 <td><code>MemoryRealm</code></td>
535 <td align="center"><code>REALM</code></td>
536 <td><code>org.apache.catalina.Realm</code></td>
537 <td><code>org.apache.catalina.realm.MemoryRealm</code></td>
538 </tr>
539
540 <tr>
541 <td><code>MemoryUserDatabase</code></td>
542 <td align="center"><code>USERDATABASE</code></td>
543 <td><code>org.apache.catalina.users.MemoryUserDatabase</code></td>
544 <td><code>org.apache.catalina.users.MemoryUserDatabase</code></td>
545 </tr>
546
547 <tr>
548 <td><code>NamingContextListener</code></td>
549 <td align="center"><code>LISTENER</code></td>
550 <td><code>org.apache.catalina.LifecycleListener</code></td>
551 <td><code>org.apache.catalina.core.NamingContextListener</code></td>
552 </tr>
553
554 <tr>
555 <td><code>NamingResources</code></td>
556 <td align="center"><code>RESOURCES</code></td>
557 <td><code>org.apache.catalina.deploy.NamingResources</code></td>
558 <td><code>org.apache.catalina.deploy.NamingResources</code></td>
559 </tr>
560
561 <tr>
562 <td><code>NonLoginAuthenticator</code></td>
563 <td align="center"><code>VALVE</code></td>
564 <td><code>org.apache.catalina.Valve</code></td>
565 <td><code>org.apache.catalina.authenticator.NonLoginAuthenticator</code></td>
566 </tr>
567
568 <tr>
569 <td><code>PersistentManager</code></td>
570 <td align="center"><code>MANAGER</code></td>
571 <td><code>org.apache.catalina.Manager</code></td>
572 <td><code>org.apache.catalina.session.PersistentManager</code></td>
573 </tr>
574
575 <tr>
576 <td><code>RemoteAddrValve</code></td>
577 <td align="center"><code>VALVE</code></td>
578 <td><code>org.apache.catalina.Valve</code></td>
579 <td><code>org.apache.catalina.valves.RemoteAddrValve</code></td>
580 </tr>
581
582 <tr>
583 <td><code>RemoteHostValve</code></td>
584 <td align="center"><code>VALVE</code></td>
585 <td><code>org.apache.catalina.Valve</code></td>
586 <td><code>org.apache.catalina.valves.RemoteHostValve</code></td>
587 </tr>
588
589 <tr>
590 <td><code>RequestDumperValve</code></td>
591 <td align="center"><code>VALVE</code></td>
592 <td><code>org.apache.catalina.Valve</code></td>
593 <td><code>org.apache.catalina.valves.RequestDumperValve</code></td>
594 </tr>
595
596 <tr>
597 <td><code>Role</code></td>
598 <td align="center"><code>ROLE</code></td>
599 <td><code>org.apache.catalina.Role</code></td>
600 <td><code>org.apache.catalina.Role</code></td>
601 </tr>
602
603 <tr>
604 <td><code>SingleSignOn</code></td>
605 <td align="center"><code>VALVE</code></td>
606 <td><code>org.apache.catalina.Valve</code></td>
607 <td><code>org.apache.catalina.valves.SingleSignOn</code></td>
608 </tr>
609
610 <tr>
611 <td><code>SSLAuthenticator</code></td>
612 <td align="center"><code>VALVE</code></td>
613 <td><code>org.apache.catalina.Valve</code></td>
614 <td><code>org.apache.catalina.authenticator.SSLAuthenticator</code></td>
615 </tr>
616
617 <tr>
618 <td><code>StandardContext</code></td>
619 <td align="center"><code>CONTEXT</code></td>
620 <td><code>org.apache.catalina.Context</code></td>
621 <td><code>org.apache.catalina.core.StandardContext</code></td>
622 </tr>
623
624 <tr>
625 <td><code>StandardContextValve</code></td>
626 <td align="center"><code>VALVE</code></td>
627 <td><code>org.apache.catalina.Valve</code></td>
628 <td><code>org.apache.catalina.core.StandardContextValve</code></td>
629 </tr>
630
631 <tr>
632 <td><code>StandardEngine</code></td>
633 <td align="center"><code>ENGINE</code></td>
634 <td><code>org.apache.catalina.Engine</code></td>
635 <td><code>org.apache.catalina.core.StandardEngine</code></td>
636 </tr>
637
638 <tr>
639 <td><code>StandardEngineValve</code></td>
640 <td align="center"><code>VALVE</code></td>
641 <td><code>org.apache.catalina.Valve</code></td>
642 <td><code>org.apache.catalina.core.StandardEngineValve</code></td>
643 </tr>
644
645 <tr>
646 <td><code>StandardHost</code></td>
647 <td align="center"><code>HOST</code></td>
648 <td><code>org.apache.catalina.Host</code></td>
649 <td><code>org.apache.catalina.core.StandardHost</code></td>
650 </tr>
651
652 <tr>
653 <td><code>StandardHostValve</code></td>
654 <td align="center"><code>VALVE</code></td>
655 <td><code>org.apache.catalina.Valve</code></td>
656 <td><code>org.apache.catalina.core.StandardHostValve</code></td>
657 </tr>
658
659 <tr>
660 <td><code>StandardManager</code></td>
661 <td align="center"><code>MANAGER</code></td>
662 <td><code>org.apache.catalina.Manager</code></td>
663 <td><code>org.apache.catalina.session.StandardManager</code></td>
664 </tr>
665
666 <tr>
667 <td><code>StandardServer</code></td>
668 <td align="center"><code>SERVER</code></td>
669 <td><code>org.apache.catalina.Server</code></td>
670 <td><code>org.apache.catalina.core.StandardServer</code></td>
671 </tr>
672
673 <tr>
674 <td><code>StandardService</code></td>
675 <td align="center"><code>SERVICE</code></td>
676 <td><code>org.apache.catalina.Service</code></td>
677 <td><code>org.apache.catalina.core.StandardService</code></td>
678 </tr>
679
680 <tr>
681 <td><code>StandardWrapper</code></td>
682 <td align="center"><code>WRAPPER</code></td>
683 <td><code>org.apache.catalina.Wrapper</code></td>
684 <td><code>org.apache.catalina.core.StandardWrapper</code></td>
685 </tr>
686
687 <tr>
688 <td><code>StandardWrapperValve</code></td>
689 <td align="center"><code>VALVE</code></td>
690 <td><code>org.apache.catalina.Valve</code></td>
691 <td><code>org.apache.catalina.core.StandardWrapperValve</code></td>
692 </tr>
693
694 <tr>
695 <td><code>User</code></td>
696 <td align="center"><code>USER</code></td>
697 <td><code>org.apache.catalina.User</code></td>
698 <td><code>org.apache.catalina.User</code></td>
699 </tr>
700
701 <tr>
702 <td><code>UserDatabaseRealm</code></td>
703 <td align="center"><code>REALM</code></td>
704 <td><code>org.apache.catalina.Realm</code></td>
705 <td><code>org.apache.catalina.realm.UserDatabaseRealm</code></td>
706 </tr>
707
708 <tr>
709 <td><code>WebappLoader</code></td>
710 <td align="center"><code>LOADER</code></td>
711 <td><code>org.apache.catalina.Loader</code></td>
712 <td><code>org.apache.catalina.loader.WebappLoader</code></td>
713 </tr>
714
715</table>
716
717</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JSR-77 Cross Reference"><!--()--></a><a name="JSR-77_Cross_Reference"><strong>JSR-77 Cross Reference</strong></a></font></td></tr><tr><td><blockquote>
718
719<p>The managed objects in the JSR-77 object hierarchy correspond
720to the specified MBean names or groups as follows:</p>
721
722<table border="1" cellpadding="5">
723
724 <tr>
725 <th align="center" bgcolor="aqua">JSR-77 Managed Object</th>
726 <th align="center" bgcolor="aqua">MBean Name or Group</th>
727 <th align="center" bgcolor="aqua">Comments</th>
728 </tr>
729
730 <tr>
731 <td><code>J2EEServer</code></td>
732 <td><code>${SERVICE}</code></td>
733 <td></td>
734 </tr>
735
736 <tr>
737 <td><code>Node</code></td>
738 <td><code>${SERVICE}</code></td>
739 <td>Tomcat supports a single node only.</td>
740 </tr>
741
742 <tr>
743 <td><code>Port</code></td>
744 <td><code>${CONNECTOR}</code></td>
745 <td></td>
746 </tr>
747
748 <tr>
749 <td><code>Servlet</code></td>
750 <td><code>${WRAPPER}</code></td>
751 <td></td>
752 </tr>
753
754 <tr>
755 <td><code>WebModule</code></td>
756 <td><code>${CONTEXT}</code></td>
757 <td></td>
758 </tr>
759
760</table>
761
762</blockquote></td></tr></table><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="JSR-88 Cross Reference"><!--()--></a><a name="JSR-88_Cross_Reference"><strong>JSR-88 Cross Reference</strong></a></font></td></tr><tr><td><blockquote>
763
764<p>The deployment objects in the JSR-88 API object hierarchy correspond
765to the specified MBean names or groups as follows:</p>
766
767<table border="1" cellpadding="5">
768
769 <tr>
770 <th align="center" bgcolor="aqua">JSR-88 API Object</th>
771 <th align="center" bgcolor="aqua">MBean Name or Group</th>
772 <th align="center" bgcolor="aqua">Comments</th>
773 </tr>
774
775 <tr>
776 <td><code>DeployableObject</code></td>
777 <td><code>${CONTEXT}</code></td>
778 <td>Context deployment info plus the corresponding WAR file</td>
779 </tr>
780
781 <tr>
782 <td><code>Target</code></td>
783 <td><code>${HOST}</code></td>
784 <td></td>
785 </tr>
786
787</table>
788
刘洪青6266f992017-05-15 21:21:03 +0800789</blockquote></td></tr></table></td></tr><tr class="noPrint"><td width="20%" valign="top" nowrap class="noPrint"></td><td width="80%" valign="top" align="left"><table border="0" cellspacing="0" cellpadding="2"><tr><td bgcolor="#525D76"><font color="#ffffff" face="arial,helvetica.sanserif"><a name="comments_section" id="comments_section"><strong>Comments</strong></a></font></td></tr><tr><td><blockquote><p class="notice"><strong>Notice: </strong>This comments section collects your suggestions
790 on improving documentation for Apache Tomcat.<br><br>
791 If you have trouble and need help, read
792 <a href="http://tomcat.apache.org/findhelp.html">Find Help</a> page
793 and ask your question on the tomcat-users
794 <a href="http://tomcat.apache.org/lists.html">mailing list</a>.
795 Do not ask such questions here. This is not a Q&amp;A section.<br><br>
796 The Apache Comments System is explained <a href="../comments.html">here</a>.
797 Comments may be removed by our moderators if they are either
798 implemented or considered invalid/off-topic.</p><script type="text/javascript"><!--//--><![CDATA[//><!--
799 var comments_shortname = 'tomcat';
800 var comments_identifier = 'http://tomcat.apache.org/tomcat-7.0-doc/funcspecs/mbean-names.html';
801 (function(w, d) {
802 if (w.location.hostname.toLowerCase() == "tomcat.apache.org") {
803 d.write('<div id="comments_thread"><\/div>');
804 var s = d.createElement('script');
805 s.type = 'text/javascript';
806 s.async = true;
807 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
808 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
809 }
810 else {
811 d.write('<div id="comments_thread"><strong>Comments are disabled for this page at the moment.<\/strong><\/div>');
812 }
813 })(window, document);
814 //--><!]]></script></blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr noshade size="1"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font color="#525D76" size="-1"><em>
815 Copyright &copy; 1999-2017, Apache Software Foundation
Hongqing Liufd5ee812014-05-10 16:32:51 +0800816 </em></font></div></td></tr></table></body></html>