equal
deleted
inserted
replaced
1 <!-- |
1 <!-- |
2 Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. |
2 Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
4 |
5 This code is free software; you can redistribute it and/or modify it |
5 This code is free software; you can redistribute it and/or modify it |
6 under the terms of the GNU General Public License version 2 only, as |
6 under the terms of the GNU General Public License version 2 only, as |
7 published by the Free Software Foundation. Oracle designates this |
7 published by the Free Software Foundation. Oracle designates this |
33 monitoring and management of the running Java virtual machine. |
33 monitoring and management of the running Java virtual machine. |
34 |
34 |
35 <h3><a id="MXBean">Platform MXBean</a></h3> |
35 <h3><a id="MXBean">Platform MXBean</a></h3> |
36 <p> |
36 <p> |
37 A platform MXBean is a <i>managed bean</i> that |
37 A platform MXBean is a <i>managed bean</i> that |
38 conforms to the <a href="../../../javax/management/package-summary.html">JMX</a> |
38 conforms to the {@linkplain javax.management JMX} |
39 Instrumentation Specification and only uses a set of basic data types. |
39 Instrumentation Specification and only uses a set of basic data types. |
40 Each platform MXBean is a {@link java.lang.management.PlatformManagedObject} |
40 Each platform MXBean is a {@link java.lang.management.PlatformManagedObject} |
41 with a unique |
41 with a unique |
42 {@linkplain java.lang.management.PlatformManagedObject#getObjectName name}. |
42 {@linkplain java.lang.management.PlatformManagedObject#getObjectName name}. |
43 <h3>ManagementFactory</h3> |
43 <h3>ManagementFactory</h3> |
67 server and the connector client are JMX |
67 server and the connector client are JMX |
68 {@linkplain javax.management.openmbean.OpenType open types} and |
68 {@linkplain javax.management.openmbean.OpenType open types} and |
69 this allows interoperation across versions. |
69 this allows interoperation across versions. |
70 A data type used by the MXBean interfaces are mapped to an |
70 A data type used by the MXBean interfaces are mapped to an |
71 open type when being accessed via MBeanServer interface. |
71 open type when being accessed via MBeanServer interface. |
72 See the <a href="../../../javax/management/MXBean.html#MXBean-spec"> |
72 See the <a href="{@docRoot}/javax/management/MXBean.html#MXBean-spec"> |
73 MXBean</a> specification for details. |
73 MXBean</a> specification for details. |
74 |
74 |
75 <h3><a id="examples">Ways to Access MXBeans</a></h3> |
75 <h3><a id="examples">Ways to Access MXBeans</a></h3> |
76 |
76 |
77 <p>An application can monitor the instrumentation of the |
77 <p>An application can monitor the instrumentation of the |
232 or method in any class or interface in this package will cause a {@link |
232 or method in any class or interface in this package will cause a {@link |
233 java.lang.NullPointerException NullPointerException} to be thrown. |
233 java.lang.NullPointerException NullPointerException} to be thrown. |
234 |
234 |
235 <p> The java.lang.management API is thread-safe. |
235 <p> The java.lang.management API is thread-safe. |
236 |
236 |
237 @see <a href="../../../javax/management/package-summary.html"> |
237 @see {@linkplain javax.management JMX Specification} |
238 JMX Specification.</a> |
|
239 |
238 |
240 @author Mandy Chung |
239 @author Mandy Chung |
241 @since 1.5 |
240 @since 1.5 |
242 |
241 |
243 </body> |
242 </body> |