- * stackTrace |
+ * stackTrace |
* {@code javax.management.openmbean.CompositeData[]}
*
* Each element is a {@code CompositeData} representing
* StackTraceElement containing the following attributes:
- *
- *
+ *
* The attributes and their types the given CompositeData contains
+ *
*
- * Attribute Name |
- * Type |
+ * Attribute Name |
+ * Type |
*
+ *
+ *
*
- * moduleName |
+ * moduleName |
* {@code java.lang.String} |
*
*
- * moduleVersion |
+ * moduleVersion |
* {@code java.lang.String} |
*
*
- * className |
+ * className |
* {@code java.lang.String} |
*
*
- * methodName |
+ * methodName |
* {@code java.lang.String} |
*
*
- * fileName |
+ * fileName |
* {@code java.lang.String} |
*
*
- * lineNumber |
+ * lineNumber |
* {@code java.lang.Integer} |
*
*
- * nativeMethod |
+ * nativeMethod |
* {@code java.lang.Boolean} |
*
+ *
*
- *
*
*
*
- * lockedMonitors |
+ * lockedMonitors |
* {@code javax.management.openmbean.CompositeData[]}
* whose element type is the mapped type for
* {@link MonitorInfo} as specified in the
@@ -815,7 +819,7 @@ public class ThreadInfo {
* this attribute will be set to an empty array. |
*
*
- * lockedSynchronizers |
+ * lockedSynchronizers |
* {@code javax.management.openmbean.CompositeData[]}
* whose element type is the mapped type for
* {@link LockInfo} as specified in the {@link LockInfo#from} method.
@@ -824,15 +828,15 @@ public class ThreadInfo {
* this attribute will be set to an empty array. |
*
*
- * daemon |
+ * daemon |
* {@code java.lang.Boolean} |
*
*
- * priority |
+ * priority |
* {@code java.lang.Integer} |
*
+ *
*
- *
*
* @param cd {@code CompositeData} representing a {@code ThreadInfo}
*
diff --git a/jdk/src/java.management/share/classes/javax/management/Descriptor.java b/jdk/src/java.management/share/classes/javax/management/Descriptor.java
index 2dc41fc3a8d..439924bfd91 100644
--- a/jdk/src/java.management/share/classes/javax/management/Descriptor.java
+++ b/jdk/src/java.management/share/classes/javax/management/Descriptor.java
@@ -98,16 +98,21 @@ import javax.management.openmbean.OpenType;
*
*
* Descriptor Fields
+ *
+ * Name |
+ * Type |
+ * Used in |
+ * Meaning |
+ *
*
- * Name | Type | Used in | Meaning |
- *
- * defaultValue | Object |
+ *
+ * defaultValue | Object |
* MBeanAttributeInfo MBeanParameterInfo |
*
* Default value for an attribute or parameter. See
* {@link javax.management.openmbean}. |
*
- *
---|
deprecated | String | Any |
+ * deprecated | String | Any |
*
* An indication that this element of the information model is no
* longer recommended for use. A set of MBeans defined by an
@@ -118,8 +123,8 @@ import javax.management.openmbean.OpenType;
* deprecation, for example {@code "1.3 Replaced by the Capacity
* attribute"}. |
*
- *
---|
descriptionResource
- * BundleBaseName | String | Any |
+ * descriptionResource
+ * BundleBaseName | String | Any |
*
* The base name for the {@link ResourceBundle} in which the key given in
* the {@code descriptionResourceKey} field can be found, for example
@@ -127,7 +132,7 @@ import javax.management.openmbean.OpenType;
* field is defined by this specification but the field is not set or
* used by the JMX API itself. |
*
- *
---|
descriptionResourceKey |
+ * descriptionResourceKey |
* String | Any |
*
* A resource key for the description of this element. In
@@ -136,7 +141,7 @@ import javax.management.openmbean.OpenType;
* The meaning of this field is defined by this specification but the
* field is not set or used by the JMX API itself. |
*
- *
---|
enabled | String |
+ * enabled | String |
* MBeanAttributeInfo MBeanNotificationInfo MBeanOperationInfo |
*
* The string {@code "true"} or {@code "false"} according as this
@@ -148,7 +153,7 @@ import javax.management.openmbean.OpenType;
* might be disabled if it cannot currently be emitted but could be in
* other circumstances. |
*
- *
---|
exceptions | String[] |
+ * exceptions | String[] |
* MBeanAttributeInfo, MBeanConstructorInfo, MBeanOperationInfo |
*
* The class names of the exceptions that can be thrown when invoking a
@@ -158,7 +163,7 @@ import javax.management.openmbean.OpenType;
* setting an attribute are specified by the field
* {@code setExceptions}.
*
- * |
---|
immutableInfo | String |
+ * immutableInfo | String |
* MBeanInfo |
*
* The string {@code "true"} or {@code "false"} according as this
@@ -171,7 +176,7 @@ import javax.management.openmbean.OpenType;
* href="MBeanInfo.html#info-changed">{@code "jmx.mbean.info.changed"}
* notification. |
*
- *
---|
infoTimeout | String Long | MBeanInfo |
+ * infoTimeout | String Long | MBeanInfo |
*
* The time in milli-seconds that the MBeanInfo can reasonably be
* expected to be unchanged. The value can be a {@code Long} or a
@@ -184,7 +189,7 @@ import javax.management.openmbean.OpenType;
* href="MBeanInfo.html#info-changed">{@code "jmx.mbean.info.changed"} in
* its {@link MBeanNotificationInfo} array. |
*
- * interfaceClassName |
+ * interfaceClassName |
* String | MBeanInfo |
*
* The Java interface name for a Standard MBean or MXBean, as
@@ -193,26 +198,26 @@ import javax.management.openmbean.OpenType;
* StandardMBean} class will have this field in its MBeanInfo
* Descriptor. |
*
- *
---|
legalValues |
+ * legalValues |
* {@literal Set>} | MBeanAttributeInfo MBeanParameterInfo |
*
* Legal values for an attribute or parameter. See
* {@link javax.management.openmbean}. |
*
- *
---|
locale |
+ * locale |
* String | Any |
*
* The {@linkplain Locale locale} of the description in this
* {@code MBeanInfo}, {@code MBeanAttributeInfo}, etc, as returned
* by {@link Locale#toString()}. |
*
- *
---|
maxValue | Object |
+ * maxValue | Object |
* MBeanAttributeInfo MBeanParameterInfo |
*
* Maximum legal value for an attribute or parameter. See
* {@link javax.management.openmbean}. |
*
- *
---|
metricType | String |
+ * metricType | String |
* MBeanAttributeInfo MBeanOperationInfo |
*
* The type of a metric, one of the strings "counter" or "gauge".
@@ -225,13 +230,13 @@ import javax.management.openmbean.OpenType;
* that can increase or decrease. Examples might be the number of
* open connections or a cache hit rate or a temperature reading.
*
- * |
---|
minValue | Object |
+ * minValue | Object |
* MBeanAttributeInfo MBeanParameterInfo |
*
* Minimum legal value for an attribute or parameter. See
* {@link javax.management.openmbean}. |
*
- *
---|
mxbean | String |
+ * mxbean | String |
* MBeanInfo |
*
* The string {@code "true"} or {@code "false"} according as this
@@ -240,7 +245,7 @@ import javax.management.openmbean.OpenType;
* StandardMBean} class will have this field in its MBeanInfo
* Descriptor. |
*
- *
---|
openType | {@link OpenType} |
+ * openType | {@link OpenType} |
* MBeanAttributeInfo MBeanOperationInfo MBeanParameterInfo |
*
* The Open Type of this element. In the case of {@code
@@ -257,7 +262,7 @@ import javax.management.openmbean.OpenType;
* which case it indicates the Open Type that the {@link
* Notification#getUserData() user data} will have. |
*
- *
---|
originalType | String |
+ * originalType | String |
* MBeanAttributeInfo MBeanOperationInfo MBeanParameterInfo |
*
* The original Java type of this element as it appeared in the
@@ -273,7 +278,7 @@ import javax.management.openmbean.OpenType;
* href="MXBean.html#type-names">Type Names of the MXBean
* specification.
*
- * |
---|
setExceptions | String[] |
+ * setExceptions | String[] |
* MBeanAttributeInfo |
*
* The class names of the exceptions that can be thrown when setting
@@ -282,7 +287,7 @@ import javax.management.openmbean.OpenType;
* JMX API itself. Exceptions thrown when getting an attribute are specified
* by the field {@code exceptions}.
*
- * |
---|
severity | String Integer |
+ * severity | String Integer |
* MBeanNotificationInfo |
*
* The severity of this notification. It can be 0 to mean
@@ -290,7 +295,7 @@ import javax.management.openmbean.OpenType;
* levels of severity. It can be represented as a decimal string or
* an {@code Integer}. |
*
- *
---|
since | String | Any |
+ * since | String | Any |
*
* The version of the information model in which this element
* was introduced. A set of MBeans defined by an application is
@@ -299,13 +304,14 @@ import javax.management.openmbean.OpenType;
* {@code "since"} field to record the version in which an element
* first appeared. |
*
- *
---|
units | String |
+ * units | String |
* MBeanAttributeInfo MBeanParameterInfo MBeanOperationInfo |
*
* The units in which an attribute, parameter, or operation return
* value is measured, for example {@code "bytes"} or {@code
* "seconds"}. |
*
+ *
*
*
* Some additional fields are defined by Model MBeans. See the
@@ -334,106 +340,113 @@ import javax.management.openmbean.OpenType;
*
* ModelMBean Fields
*
- * Name | Type | Used in | Meaning |
+ *
+ * Name |
+ * Type |
+ * Used in |
+ * Meaning |
+ *
*
- * class | String | ModelMBeanOperationInfo |
+ *
+ * class | String | ModelMBeanOperationInfo |
* Class where method is defined (fully qualified). |
*
- * currencyTimeLimit | Number |
+ * currencyTimeLimit | Number |
* ModelMBeanInfo ModelMBeanAttributeInfo ModelMBeanOperationInfo |
* How long cached value is valid: <0 never, =0 always,
* >0 seconds. |
*
- * default | Object | ModelMBeanAttributeInfo |
+ * default | Object | ModelMBeanAttributeInfo |
* Default value for attribute. |
*
- * descriptorType | String | Any |
+ * descriptorType | String | Any |
* Type of descriptor, "mbean", "attribute", "constructor", "operation",
* or "notification". |
*
- * displayName | String | Any |
+ * displayName | String | Any |
* Human readable name of this item. |
*
- * export | String | ModelMBeanInfo |
+ * export | String | ModelMBeanInfo |
* Name to be used to export/expose this MBean so that it is
* findable by other JMX Agents. |
*
- * getMethod | String | ModelMBeanAttributeInfo |
+ * getMethod | String | ModelMBeanAttributeInfo |
* Name of operation descriptor for get method. |
*
- * lastUpdatedTimeStamp | Number |
+ * lastUpdatedTimeStamp | Number |
* ModelMBeanAttributeInfo ModelMBeanOperationInfo |
* When value was set. |
*
- * log | String | ModelMBeanInfo ModelMBeanNotificationInfo |
+ * log | String | ModelMBeanInfo ModelMBeanNotificationInfo |
* t or T: log all notifications, f or F: log no notifications. |
*
- * logFile | String | ModelMBeanInfo ModelMBeanNotificationInfo |
+ * logFile | String | ModelMBeanInfo ModelMBeanNotificationInfo |
* Fully qualified filename to log events to. |
*
- * messageID | String | ModelMBeanNotificationInfo |
+ * messageID | String | ModelMBeanNotificationInfo |
* Unique key for message text (to allow translation, analysis). |
*
- * messageText | String | ModelMBeanNotificationInfo |
+ * messageText | String | ModelMBeanNotificationInfo |
* Text of notification. |
*
- * name | String | Any |
+ * name | String | Any |
* Name of this item. |
*
- * persistFile | String | ModelMBeanInfo |
+ * persistFile | String | ModelMBeanInfo |
* File name into which the MBean should be persisted. |
*
- * persistLocation | String | ModelMBeanInfo |
+ * persistLocation | String | ModelMBeanInfo |
* The fully qualified directory name where the MBean should be
* persisted (if appropriate). |
*
- * persistPeriod | Number |
+ * persistPeriod | Number |
* ModelMBeanInfo ModelMBeanAttributeInfo |
* Frequency of persist cycle in seconds. Used when persistPolicy is
* "OnTimer" or "NoMoreOftenThan". |
*
- * persistPolicy | String |
+ * persistPolicy | String |
* ModelMBeanInfo ModelMBeanAttributeInfo |
* One of: OnUpdate|OnTimer|NoMoreOftenThan|OnUnregister|Always|Never.
* See the section "MBean Descriptor Fields" in the JMX specification
* document. |
*
- * presentationString | String | Any |
+ * presentationString | String | Any |
* XML formatted string to allow presentation of data. |
*
- * protocolMap | Descriptor | ModelMBeanAttributeInfo |
+ * protocolMap | Descriptor | ModelMBeanAttributeInfo |
* See the section "Protocol Map Support" in the JMX specification
* document. Mappings must be appropriate for the attribute and entries
* can be updated or augmented at runtime. |
*
- * role | String |
+ * role | String |
* ModelMBeanConstructorInfo ModelMBeanOperationInfo |
* One of "constructor", "operation", "getter", or "setter". |
*
- * setMethod | String | ModelMBeanAttributeInfo |
+ * setMethod | String | ModelMBeanAttributeInfo |
* Name of operation descriptor for set method. |
*
- * severity | Number |
+ * severity | Number |
* ModelMBeanNotificationInfo |
* 0-6 where 0: unknown; 1: non-recoverable;
* 2: critical, failure; 3: major, severe;
* 4: minor, marginal, error; 5: warning;
* 6: normal, cleared, informative |
*
- * targetObject | Object | ModelMBeanOperationInfo |
+ * targetObject | Object | ModelMBeanOperationInfo |
* Object on which to execute this method. |
*
- * targetType | String | ModelMBeanOperationInfo |
+ * targetType | String | ModelMBeanOperationInfo |
* type of object reference for targetObject. Can be:
* ObjectReference | Handle | EJBHandle | IOR | RMIReference. |
*
- * value | Object |
+ * value | Object |
* ModelMBeanAttributeInfo ModelMBeanOperationInfo |
* Current (cached) value for attribute or operation. |
*
- * visibility | Number | Any |
+ * visibility | Number | Any |
* 1-4 where 1: always visible, 4: rarely visible. |
*
+ *
*
*
* @since 1.5
diff --git a/jdk/src/java.management/share/classes/javax/management/DescriptorKey.java b/jdk/src/java.management/share/classes/javax/management/DescriptorKey.java
index 592cb799f32..544018227aa 100644
--- a/jdk/src/java.management/share/classes/javax/management/DescriptorKey.java
+++ b/jdk/src/java.management/share/classes/javax/management/DescriptorKey.java
@@ -94,13 +94,17 @@ import java.lang.annotation.*;
* then the resulting {@code Descriptor} will contain the following
* fields:
*
- *
+ *
* Descriptor Fields
- * Name | Value |
- * units | "bytes" |
- * descriptionResourceKey | "bytes.key" |
- * descriptionResourceBundleBaseName |
+ *
+ * Name | Value |
+ *
+ *
+ * units | "bytes" |
+ * descriptionResourceKey | "bytes.key" |
+ * descriptionResourceBundleBaseName |
* "com.example.foo.MBeanResources" |
+ *
*
*
* An annotation such as {@code @Units} can be applied to:
@@ -144,24 +148,28 @@ import java.lang.annotation.*;
* or an array of annotations. The value of the field is derived from
* the value of the annotation element as follows:
*
- *
+ *
* Descriptor Field Types
- * Annotation element | Descriptor field |
- * Primitive value ({@code 5}, {@code false}, etc) |
+ *
+ * Annotation element | Descriptor field |
+ *
+ *
+ * Primitive value ({@code 5}, {@code false}, etc) |
* Wrapped value ({@code Integer.valueOf(5)},
* {@code Boolean.FALSE}, etc) |
- * Class constant (e.g. {@code Thread.class}) |
+ * Class constant (e.g. {@code Thread.class}) |
* Class name from {@link Class#getName()}
* (e.g. {@code "java.lang.Thread"}) |
- * Enum constant (e.g. {@link ElementType#FIELD}) |
+ * Enum constant (e.g. {@link ElementType#FIELD}) |
* Constant name from {@link Enum#name()}
* (e.g. {@code "FIELD"}) |
- * Array of class constants or enum constants |
+ * Array of class constants or enum constants |
* String array derived by applying these rules to each
* element |
- * Value of any other type
- * ({@code String}, {@code String[]}, {@code int[]}, etc) |
+ * Value of any other type
+ * ({@code String}, {@code String[]}, {@code int[]}, etc) |
* The same value |
+ *
*
*
* @since 1.6
diff --git a/jdk/src/java.management/share/classes/javax/management/MXBean.java b/jdk/src/java.management/share/classes/javax/management/MXBean.java
index 538cb66a471..73fb4e1703c 100644
--- a/jdk/src/java.management/share/classes/javax/management/MXBean.java
+++ b/jdk/src/java.management/share/classes/javax/management/MXBean.java
@@ -93,28 +93,26 @@ import javax.management.openmbean.TabularType;
Standard MBean concept. Here is how a managed object might be
represented as a Standard MBean, and as an MXBean:
-
- Standard Bean vs. MXBean
-
- Standard MBean | MXBean |
-
-
-
+
+ Standard MBean
+
public interface MemoryPoolMBean {
String getName();
MemoryUsage getUsage();
// ...
}
- |
-
+
+
+
+ MXBean
+
public interface MemoryPoolMXBean {
String getName();
MemoryUsage getUsage();
// ...
}
- |
-
-
+
+
As you can see, the definitions are very similar. The only
difference is that the convention for naming the interface is to use
@@ -134,13 +132,9 @@ public interface MemoryPoolMXBean {
So, we might define MemoryUsage like this:
-
- Standard Bean vs. MXBean
-
- Standard MBean | MXBean |
-
-
-
+
+ Standard MBean
+
public class MemoryUsage implements Serializable {
// standard JavaBean conventions with getters
@@ -151,8 +145,11 @@ public class MemoryUsage implements Serializable {
long getCommitted() {...}
long getMax() {...}
}
- |
-
+
+
+
+ MXBean
+
public class MemoryUsage {
// standard JavaBean conventions with getters
@ConstructorParameters({"init", "used", "committed", "max"})
@@ -163,9 +160,8 @@ public class MemoryUsage {
long getCommitted() {...}
long getMax() {...}
}
- |
-
-
+
+
The definitions are the same in the two cases, except
that with the MXBean, MemoryUsage no longer needs to
@@ -197,29 +193,28 @@ public class MemoryUsage {
This becomes clearer if we compare what the clients of the two
models might look like:
-
- Standard Bean vs. MXBean
-
- Standard MBean | MXBean |
-
-
-
+
+ Standard MBean
+
String name = (String)
mbeanServer.{@link MBeanServer#getAttribute
getAttribute}(objectName, "Name");
MemoryUsage usage = (MemoryUsage)
mbeanServer.getAttribute(objectName, "Usage");
long used = usage.getUsed();
- |
-
+
+
+
+ MXBean
+
String name = (String)
mbeanServer.{@link MBeanServer#getAttribute
getAttribute}(objectName, "Name");
{@link CompositeData} usage = (CompositeData)
mbeanServer.getAttribute(objectName, "Usage");
long used = (Long) usage.{@link CompositeData#get get}("used");
- |
-
+
+
For attributes with simple types like String , the
code is the same. But for attributes with complex types, the
@@ -235,13 +230,9 @@ String name = (String)
managed objects when you know the model beforehand, regardless
of whether you are using Standard MBeans or MXBeans:
-
- Standard Bean vs. MXBean
-
- Standard MBean | MXBean |
-
-
-
+
+ Standard MBean
+
MemoryPoolMBean proxy =
JMX.{@link JMX#newMBeanProxy(MBeanServerConnection, ObjectName,
Class) newMBeanProxy}(
@@ -251,8 +242,11 @@ MemoryPoolMBean proxy =
String name = proxy.getName();
MemoryUsage usage = proxy.getUsage();
long used = usage.getUsed();
- |
-
+
+
+
+ MXBean
+
MemoryPoolMXBean proxy =
JMX.{@link JMX#newMXBeanProxy(MBeanServerConnection, ObjectName,
Class) newMXBeanProxy}(
@@ -262,63 +256,58 @@ MemoryPoolMXBean proxy =
String name = proxy.getName();
MemoryUsage usage = proxy.getUsage();
long used = usage.getUsed();
- |
-
-
+
+
Implementing the MemoryPool object works similarly for both
Standard MBeans and MXBeans.
-
- Standard Bean vs. MXBean
-
- Standard MBean | MXBean |
-
-
-
+
+ Standard MBean
+
public class MemoryPool
implements MemoryPoolMBean {
public String getName() {...}
public MemoryUsage getUsage() {...}
// ...
}
- |
-
+
+
+
+ MXBean
+
public class MemoryPool
implements MemoryPoolMXBean {
public String getName() {...}
public MemoryUsage getUsage() {...}
// ...
}
- |
-
-
+
+
Registering the MBean in the MBean Server works in the same way
in both cases:
-
- Standard Bean vs. MXBean
-
- Standard MBean | MXBean |
-
-
-
+
+ Standard MBean
+
{
MemoryPoolMBean pool = new MemoryPool();
mbeanServer.{@link MBeanServer#registerMBean
registerMBean}(pool, objectName);
}
- |
-
+
+
+
+ MXBean
+
{
MemoryPoolMXBean pool = new MemoryPool();
mbeanServer.{@link MBeanServer#registerMBean
registerMBean}(pool, objectName);
}
- |
-
-
+
+
Definition of an MXBean
@@ -486,70 +475,71 @@ public class MemoryPool
Type Mapping Rules
+
- Java type J |
- opentype(J) |
- opendata(J) |
+ Java type J |
+ opentype(J) |
+ opendata(J) |
-
+
+
- {@code int}, {@code boolean}, etc
- (the 8 primitive Java types) |
+ {@code int}, {@code boolean}, etc
+ (the 8 primitive Java types) |
{@code SimpleType.INTEGER},
{@code SimpleType.BOOLEAN}, etc |
{@code Integer}, {@code Boolean}, etc
(the corresponding boxed types) |
- {@code Integer}, {@code ObjectName}, etc
- (the types covered by {@link SimpleType}) |
+ {@code Integer}, {@code ObjectName}, etc
+ (the types covered by {@link SimpleType}) |
the corresponding {@code SimpleType} |
J, the same type |
- {@code int[]} etc
- (a one-dimensional array with
- primitive element type) |
+ {@code int[]} etc
+ (a one-dimensional array with primitive element type) |
{@code ArrayType.getPrimitiveArrayType(int[].class)} etc |
J, the same type |
- E{@code []}
+ | E{@code []}
(an array with non-primitive element type E;
- this includes {@code int[][]}, where E is {@code int[]})
+ this includes {@code int[][]}, where E is {@code int[]}) |
{@code ArrayType.getArrayType(}opentype(E){@code )} |
opendata(E){@code []} |
- {@code List<}E{@code >}
+ | {@code List<}E{@code >}
{@code Set<}E{@code >}
- {@code SortedSet<}E{@code >} (see below)
+ {@code SortedSet<}E{@code >} (see below) |
same as for E{@code []} |
same as for E{@code []} |
- An enumeration E
+ | An enumeration E
(declared in Java as {@code enum }E
- {@code {...}})
+ {@code {...}}) |
{@code SimpleType.STRING} |
{@code String} |
- {@code Map<}K,V{@code >}
- {@code SortedMap<}K,V{@code >} |
+ {@code Map<}K,V{@code >}
+ {@code SortedMap<}K,V{@code >} |
{@link TabularType}
(see below) |
{@link TabularData}
(see below) |
- An MXBean interface |
+ An MXBean interface |
{@code SimpleType.OBJECTNAME}
(see below) |
{@link ObjectName}
(see below) |
- Any other type |
+ Any other type |
{@link CompositeType},
if possible
(see below) |
diff --git a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanAttributeInfo.java b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanAttributeInfo.java
index 5ae3102013e..6f7dc152d5d 100644
--- a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanAttributeInfo.java
+++ b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanAttributeInfo.java
@@ -59,41 +59,45 @@ import javax.management.RuntimeOperationsException;
*
*
* ModelMBeanAttributeInfo Fields
- * Name | Type | Meaning |
- * name | String |
+ *
+ * Name | Type | Meaning |
+ *
+ *
+ * name | String |
* Attribute name. |
- * descriptorType | String |
+ * descriptorType | String |
* Must be "attribute". |
- * value | Object |
+ * value | Object |
* Current (cached) value for attribute. |
- * default | Object |
+ * default | Object |
* Default value for attribute. |
- * displayName | String |
+ * displayName | String |
* Name of attribute to be used in displays. |
- * getMethod | String |
+ * getMethod | String |
* Name of operation descriptor for get method. |
- * setMethod | String |
+ * setMethod | String |
* Name of operation descriptor for set method. |
- * protocolMap | Descriptor |
+ * protocolMap | Descriptor |
* See the section "Protocol Map Support" in the JMX specification
* document. Mappings must be appropriate for the attribute and entries
* can be updated or augmented at runtime. |
- * persistPolicy | String |
+ * persistPolicy | String |
* One of: OnUpdate|OnTimer|NoMoreOftenThan|OnUnregister|Always|Never.
* See the section "MBean Descriptor Fields" in the JMX specification
* document. |
- * persistPeriod | Number |
+ * persistPeriod | Number |
* Frequency of persist cycle in seconds. Used when persistPolicy is
* "OnTimer" or "NoMoreOftenThan". |
- * currencyTimeLimit | Number |
- * How long value is valid: <0 never,
+ * | currencyTimeLimit | Number |
+ * How long value is valid: <0 never,
* =0 always, >0 seconds. |
- * lastUpdatedTimeStamp | Number |
+ * lastUpdatedTimeStamp | Number |
* When value was set. |
- * visibility | Number |
+ * visibility | Number |
* 1-4 where 1: always visible, 4: rarely visible. |
- * presentationString | String |
+ * presentationString | String |
* XML formatted string to allow presentation of data. |
+ *
*
*
* The default descriptor contains the name, descriptorType and displayName
diff --git a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanConstructorInfo.java b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanConstructorInfo.java
index 7207047dfaa..cc8b417013a 100644
--- a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanConstructorInfo.java
+++ b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanConstructorInfo.java
@@ -60,19 +60,23 @@ import javax.management.RuntimeOperationsException;
*
*
* ModelMBeanConstructorInfo Fields
- * Name | Type | Meaning |
- * name | String |
+ *
+ * Name | Type | Meaning |
+ *
+ *
+ * name | String |
* Constructor name. |
- * descriptorType | String |
+ * descriptorType | String |
* Must be "operation". |
- * role | String |
+ * role | String |
* Must be "constructor". |
- * displayName | String |
+ * displayName | String |
* Human readable name of constructor. |
- * visibility | Number |
+ * visibility | Number |
* 1-4 where 1: always visible 4: rarely visible. |
- * presentationString | String |
+ * presentationString | String |
* XML formatted string to describe how to present operation |
+ *
*
*
* The {@code persistPolicy} and {@code currencyTimeLimit} fields
diff --git a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanInfo.java b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanInfo.java
index 1ef54f2d3b0..494adf71475 100644
--- a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanInfo.java
+++ b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanInfo.java
@@ -167,40 +167,44 @@ public interface ModelMBeanInfo
*
*
* ModelMBean Fields
- * Name | Type | Meaning |
- * name | String |
+ *
+ * Name | Type | Meaning |
+ *
+ *
+ * name | String |
* MBean name. |
- * descriptorType | String |
+ * descriptorType | String |
* Must be "mbean". |
- * displayName | String |
+ * displayName | String |
* Name of MBean to be used in displays. |
- * persistPolicy | String |
+ * persistPolicy | String |
* One of: OnUpdate|OnTimer|NoMoreOftenThan|OnUnregister|Always|Never.
* See the section "MBean Descriptor Fields" in the JMX specification
* document. |
- * persistLocation | String |
+ * persistLocation | String |
* The fully qualified directory name where the MBean should be
* persisted (if appropriate). |
- * persistFile | String |
+ * persistFile | String |
* File name into which the MBean should be persisted. |
- * persistPeriod | Number |
+ * persistPeriod | Number |
* Frequency of persist cycle in seconds, for OnTime and
* NoMoreOftenThan PersistPolicy |
- * currencyTimeLimit | Number |
+ * currencyTimeLimit | Number |
* How long cached value is valid: <0 never, =0 always,
* >0 seconds. |
- * log | String |
+ * log | String |
* t: log all notifications, f: log no notifications. |
- * logfile | String |
+ * logfile | String |
* Fully qualified filename to log events to. |
- * visibility | Number |
+ * visibility | Number |
* 1-4 where 1: always visible 4: rarely visible. |
- * export | String |
+ * export | String |
* Name to be used to export/expose this MBean so that it is
* findable by other JMX Agents. |
- * presentationString | String |
+ * presentationString | String |
* XML formatted string to allow presentation of data to be
* associated with the MBean. |
+ *
*
*
*
diff --git a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanNotificationInfo.java b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanNotificationInfo.java
index 79a5eedf557..5c7f8e22530 100644
--- a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanNotificationInfo.java
+++ b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanNotificationInfo.java
@@ -58,28 +58,32 @@ import javax.management.RuntimeOperationsException;
*
*
* ModelMBeanNotificationInfo Fields
- * Name | Type | Meaning |
- * name | String |
+ *
+ * Name | Type | Meaning |
+ *
+ *
+ * name | String |
* Notification name. |
- * descriptorType | String |
+ * descriptorType | String |
* Must be "notification". |
- * severity | Number |
+ * severity | Number |
* 0-6 where 0: unknown; 1: non-recoverable;
* 2: critical, failure; 3: major, severe;
* 4: minor, marginal, error; 5: warning;
* 6: normal, cleared, informative |
- * messageID | String |
+ * messageID | String |
* Unique key for message text (to allow translation, analysis). |
- * messageText | String |
+ * messageText | String |
* Text of notification. |
- * log | String |
+ * log | String |
* T - log message, F - do not log message. |
- * logfile | String |
+ * logfile | String |
* fully qualified file name appropriate for operating system. |
- * visibility | Number |
+ * visibility | Number |
* 1-4 where 1: always visible 4: rarely visible. |
- * presentationString | String |
+ * presentationString | String |
* XML formatted string to allow presentation of data. |
+ *
*
*
* The default descriptor contains the name, descriptorType,
diff --git a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanOperationInfo.java b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanOperationInfo.java
index cbf0aeff7c2..708bf164dfb 100644
--- a/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanOperationInfo.java
+++ b/jdk/src/java.management/share/classes/javax/management/modelmbean/ModelMBeanOperationInfo.java
@@ -61,32 +61,36 @@ import javax.management.RuntimeOperationsException;
*
*
* ModelMBeanOperationInfo Fields
- * Name | Type | Meaning |
- * name | String |
+ *
+ * Name | Type | Meaning |
+ *
+ *
+ * name | String |
* Operation name. |
- * descriptorType | String |
+ * descriptorType | String |
* Must be "operation". |
- * class | String |
+ * class | String |
* Class where method is defined (fully qualified). |
- * role | String |
+ * role | String |
* Must be "operation", "getter", or "setter". |
- * targetObject | Object |
+ * targetObject | Object |
* Object on which to execute this method. |
- * targetType | String |
+ * targetType | String |
* type of object reference for targetObject. Can be:
* ObjectReference | Handle | EJBHandle | IOR | RMIReference. |
- * value | Object |
+ * value | Object |
* Cached value for operation. |
- * displayName | String |
+ * displayName | String |
* Human readable display name of the operation. |
- *
---|
currencyTimeLimit | Number |
+ * currencyTimeLimit | Number |
* How long cached value is valid. |
- * lastUpdatedTimeStamp | Number |
+ * lastUpdatedTimeStamp | Number |
* When cached value was set. |
- * visibility | Number |
+ * visibility | Number |
* 1-4 where 1: always visible 4: rarely visible. |
- * presentationString | String |
+ * presentationString | String |
* XML formatted string to describe how to present operation |
+ *
*
*
* The default descriptor will have name, descriptorType, displayName and
diff --git a/jdk/src/java.management/share/classes/javax/management/remote/JMXConnectionNotification.java b/jdk/src/java.management/share/classes/javax/management/remote/JMXConnectionNotification.java
index 5bf136430b6..0ba100ec8b2 100644
--- a/jdk/src/java.management/share/classes/javax/management/remote/JMXConnectionNotification.java
+++ b/jdk/src/java.management/share/classes/javax/management/remote/JMXConnectionNotification.java
@@ -40,34 +40,38 @@ import javax.management.ObjectName;
*
* The notification type is one of the following:
*
- *
+ *
* JMXConnectionNotification Types
*
+ *
*
- * Type |
- * Meaning |
+ * Type |
+ * Meaning |
*
+ *
*
+ *
*
- * jmx.remote.connection.opened |
+ * jmx.remote.connection.opened |
* A new client connection has been opened. |
*
*
*
- * jmx.remote.connection.closed |
+ * jmx.remote.connection.closed |
* A client connection has been closed. |
*
*
*
- * jmx.remote.connection.failed |
+ * jmx.remote.connection.failed |
* A client connection has failed unexpectedly. |
*
*
*
- * jmx.remote.connection.notifs.lost |
+ * jmx.remote.connection.notifs.lost |
* A client connection has potentially lost notifications. This
* notification only appears on the client side. |
*
+ *
*
*
* The timeStamp of the notification is a time value
|