提交 0a6f8205 编写于 作者: R rriggs

8028014: Doclint warning/error cleanup in javax.management

Summary: Improve generated html by fixing doclint warnings
Reviewed-by: sla, jbachorik
上级 91936637
...@@ -178,8 +178,8 @@ public class AttributeList extends ArrayList<Object> { ...@@ -178,8 +178,8 @@ public class AttributeList extends ArrayList<Object> {
/** /**
* Inserts the attribute specified as an element at the position specified. * Inserts the attribute specified as an element at the position specified.
* Elements with an index greater than or equal to the current position are * Elements with an index greater than or equal to the current position are
* shifted up. If the index is out of range (index < 0 || index > * shifted up. If the index is out of range {@literal (index < 0 || index >
* size()) a RuntimeOperationsException should be raised, wrapping the * size())} a RuntimeOperationsException should be raised, wrapping the
* java.lang.IndexOutOfBoundsException thrown. * java.lang.IndexOutOfBoundsException thrown.
* *
* @param object The <CODE>Attribute</CODE> object to be inserted. * @param object The <CODE>Attribute</CODE> object to be inserted.
...@@ -199,7 +199,7 @@ public class AttributeList extends ArrayList<Object> { ...@@ -199,7 +199,7 @@ public class AttributeList extends ArrayList<Object> {
/** /**
* Sets the element at the position specified to be the attribute specified. * Sets the element at the position specified to be the attribute specified.
* The previous element at that position is discarded. If the index is * The previous element at that position is discarded. If the index is
* out of range (index < 0 || index > size() a RuntimeOperationsException * out of range {@literal (index < 0 || index > size())} a RuntimeOperationsException
* should be raised, wrapping the java.lang.IndexOutOfBoundsException thrown. * should be raised, wrapping the java.lang.IndexOutOfBoundsException thrown.
* *
* @param object The value to which the attribute element should be set. * @param object The value to which the attribute element should be set.
...@@ -234,7 +234,7 @@ public class AttributeList extends ArrayList<Object> { ...@@ -234,7 +234,7 @@ public class AttributeList extends ArrayList<Object> {
* Inserts all of the elements in the <CODE>AttributeList</CODE> specified * Inserts all of the elements in the <CODE>AttributeList</CODE> specified
* into this list, starting at the specified position, in the order in which * into this list, starting at the specified position, in the order in which
* they are returned by the Iterator of the {@code AttributeList} specified. * they are returned by the Iterator of the {@code AttributeList} specified.
* If the index is out of range (index < 0 || index > size() a * If the index is out of range {@literal (index < 0 || index > size())} a
* RuntimeOperationsException should be raised, wrapping the * RuntimeOperationsException should be raised, wrapping the
* java.lang.IndexOutOfBoundsException thrown. * java.lang.IndexOutOfBoundsException thrown.
* *
......
...@@ -44,12 +44,12 @@ class BooleanValueExp extends QueryEval implements ValueExp { ...@@ -44,12 +44,12 @@ class BooleanValueExp extends QueryEval implements ValueExp {
private boolean val = false; private boolean val = false;
/** Creates a new BooleanValueExp representing the boolean literal <val>.*/ /** Creates a new BooleanValueExp representing the boolean literal {@code val}.*/
BooleanValueExp(boolean val) { BooleanValueExp(boolean val) {
this.val = val; this.val = val;
} }
/**Creates a new BooleanValueExp representing the Boolean object <val>.*/ /**Creates a new BooleanValueExp representing the Boolean object {@code val}.*/
BooleanValueExp(Boolean val) { BooleanValueExp(Boolean val) {
this.val = val.booleanValue(); this.val = val.booleanValue();
} }
......
...@@ -96,7 +96,7 @@ import javax.management.openmbean.OpenType; ...@@ -96,7 +96,7 @@ import javax.management.openmbean.OpenType;
* of the mapped Java type, called <em>opendata</em>(J) in the <a * of the mapped Java type, called <em>opendata</em>(J) in the <a
* href="MXBean.html#mapping-rules">MXBean type mapping rules</a>.</p> * href="MXBean.html#mapping-rules">MXBean type mapping rules</a>.</p>
* *
* <table border="1" cellpadding="5"> * <table border="1" cellpadding="5" summary="Descriptor Fields">
* *
* <tr><th>Name</th><th>Type</th><th>Used in</th><th>Meaning</th></tr> * <tr><th>Name</th><th>Type</th><th>Used in</th><th>Meaning</th></tr>
* *
...@@ -330,7 +330,7 @@ import javax.management.openmbean.OpenType; ...@@ -330,7 +330,7 @@ import javax.management.openmbean.OpenType;
* interest outside Model MBeans, for example. But only Model MBeans have * interest outside Model MBeans, for example. But only Model MBeans have
* a predefined behavior for these fields.</p> * a predefined behavior for these fields.</p>
* *
* <table border="1" cellpadding="5"> * <table border="1" cellpadding="5" summary="ModelMBean Fields">
* *
* <tr><th>Name</th><th>Type</th><th>Used in</th><th>Meaning</th></tr> * <tr><th>Name</th><th>Type</th><th>Used in</th><th>Meaning</th></tr>
* *
......
...@@ -94,7 +94,7 @@ import java.lang.annotation.*; ...@@ -94,7 +94,7 @@ import java.lang.annotation.*;
* <p>then the resulting {@code Descriptor} will contain the following * <p>then the resulting {@code Descriptor} will contain the following
* fields:</p> * fields:</p>
* *
* <table border="2"> * <table border="2" summary="Descriptor Fields">
* <tr><th>Name</th><th>Value</th></tr> * <tr><th>Name</th><th>Value</th></tr>
* <tr><td>units</td><td>"bytes"</td></tr> * <tr><td>units</td><td>"bytes"</td></tr>
* <tr><td>descriptionResourceKey</td><td>"bytes.key"</td></tr> * <tr><td>descriptionResourceKey</td><td>"bytes.key"</td></tr>
...@@ -143,7 +143,7 @@ import java.lang.annotation.*; ...@@ -143,7 +143,7 @@ import java.lang.annotation.*;
* or an array of annotations. The value of the field is derived from * or an array of annotations. The value of the field is derived from
* the value of the annotation element as follows:</p> * the value of the annotation element as follows:</p>
* *
* <table border="2"> * <table border="2" summary="Descriptor Field Types">
* <tr><th>Annotation element</th><th>Descriptor field</th></tr> * <tr><th>Annotation element</th><th>Descriptor field</th></tr>
* <tr><td>Primitive value ({@code 5}, {@code false}, etc)</td> * <tr><td>Primitive value ({@code 5}, {@code false}, etc)</td>
* <td>Wrapped value ({@code Integer.valueOf(5)}, * <td>Wrapped value ({@code Integer.valueOf(5)},
......
...@@ -344,7 +344,7 @@ public class ImmutableDescriptor implements Descriptor { ...@@ -344,7 +344,7 @@ public class ImmutableDescriptor implements Descriptor {
* the given object is also a Descriptor, and if the two Descriptors have * the given object is also a Descriptor, and if the two Descriptors have
* the same field names (possibly differing in case) and the same * the same field names (possibly differing in case) and the same
* associated values. The respective values for a field in the two * associated values. The respective values for a field in the two
* Descriptors are equal if the following conditions hold:</p> * Descriptors are equal if the following conditions hold:
* *
* <ul> * <ul>
* <li>If one value is null then the other must be too.</li> * <li>If one value is null then the other must be too.</li>
......
...@@ -217,8 +217,7 @@ public class JMX { ...@@ -217,8 +217,7 @@ public class JMX {
} }
/** /**
* <p>Make a proxy for an MXBean in a local or remote * Make a proxy for an MXBean in a local or remote MBean Server.
* MBean Server.</p>
* *
* <p>If you have an MBean Server {@code mbs} containing an * <p>If you have an MBean Server {@code mbs} containing an
* MXBean with {@link ObjectName} {@code name}, and if the * MXBean with {@link ObjectName} {@code name}, and if the
...@@ -253,7 +252,7 @@ public class JMX { ...@@ -253,7 +252,7 @@ public class JMX {
* <li><p>{@code proxy.setSimpleAttribute("whatever")} will result * <li><p>{@code proxy.setSimpleAttribute("whatever")} will result
* in a call to {@code mbs.}{@link * in a call to {@code mbs.}{@link
* MBeanServerConnection#setAttribute setAttribute}<code>(name, * MBeanServerConnection#setAttribute setAttribute}<code>(name,
* new Attribute("SimpleAttribute", "whatever"))</code>.<p> * new Attribute("SimpleAttribute", "whatever"))</code>.</p>
* *
* <p>Because {@code String} is a <em>simple type</em>, in the * <p>Because {@code String} is a <em>simple type</em>, in the
* sense of {@link javax.management.openmbean.SimpleType}, it * sense of {@link javax.management.openmbean.SimpleType}, it
......
...@@ -162,7 +162,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead { ...@@ -162,7 +162,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead {
* Serializes an {@link MBeanFeatureInfo} to an {@link ObjectOutputStream}. * Serializes an {@link MBeanFeatureInfo} to an {@link ObjectOutputStream}.
* @serialData * @serialData
* For compatibility reasons, an object of this class is serialized as follows. * For compatibility reasons, an object of this class is serialized as follows.
* <ul> * <p>
* The method {@link ObjectOutputStream#defaultWriteObject defaultWriteObject()} * The method {@link ObjectOutputStream#defaultWriteObject defaultWriteObject()}
* is called first to serialize the object except the field {@code descriptor} * is called first to serialize the object except the field {@code descriptor}
* which is declared as transient. The field {@code descriptor} is serialized * which is declared as transient. The field {@code descriptor} is serialized
...@@ -180,7 +180,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead { ...@@ -180,7 +180,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead {
* {@link ObjectOutputStream#writeObject writeObject(Object obj)} is called * {@link ObjectOutputStream#writeObject writeObject(Object obj)} is called
* to serialize directly the field {@code descriptor}. * to serialize directly the field {@code descriptor}.
* </ul> * </ul>
* </ul> *
* @since 1.6 * @since 1.6
*/ */
private void writeObject(ObjectOutputStream out) throws IOException { private void writeObject(ObjectOutputStream out) throws IOException {
...@@ -206,7 +206,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead { ...@@ -206,7 +206,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead {
* Deserializes an {@link MBeanFeatureInfo} from an {@link ObjectInputStream}. * Deserializes an {@link MBeanFeatureInfo} from an {@link ObjectInputStream}.
* @serialData * @serialData
* For compatibility reasons, an object of this class is deserialized as follows. * For compatibility reasons, an object of this class is deserialized as follows.
* <ul> * <p>
* The method {@link ObjectInputStream#defaultReadObject defaultReadObject()} * The method {@link ObjectInputStream#defaultReadObject defaultReadObject()}
* is called first to deserialize the object except the field * is called first to deserialize the object except the field
* {@code descriptor}, which is not serialized in the default way. Then the method * {@code descriptor}, which is not serialized in the default way. Then the method
...@@ -228,7 +228,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead { ...@@ -228,7 +228,7 @@ public class MBeanFeatureInfo implements Serializable, DescriptorRead {
* to {@link ImmutableDescriptor#EMPTY_DESCRIPTOR EMPTY_DESCRIPTOR}</li> * to {@link ImmutableDescriptor#EMPTY_DESCRIPTOR EMPTY_DESCRIPTOR}</li>
* <li>Any other value. A {@link StreamCorruptedException} is thrown.</li> * <li>Any other value. A {@link StreamCorruptedException} is thrown.</li>
* </ul> * </ul>
* </ul> *
* @since 1.6 * @since 1.6
*/ */
private void readObject(ObjectInputStream in) private void readObject(ObjectInputStream in)
......
...@@ -619,7 +619,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead { ...@@ -619,7 +619,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead {
* Serializes an {@link MBeanInfo} to an {@link ObjectOutputStream}. * Serializes an {@link MBeanInfo} to an {@link ObjectOutputStream}.
* @serialData * @serialData
* For compatibility reasons, an object of this class is serialized as follows. * For compatibility reasons, an object of this class is serialized as follows.
* <ul> * <p>
* The method {@link ObjectOutputStream#defaultWriteObject defaultWriteObject()} * The method {@link ObjectOutputStream#defaultWriteObject defaultWriteObject()}
* is called first to serialize the object except the field {@code descriptor} * is called first to serialize the object except the field {@code descriptor}
* which is declared as transient. The field {@code descriptor} is serialized * which is declared as transient. The field {@code descriptor} is serialized
...@@ -637,7 +637,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead { ...@@ -637,7 +637,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead {
* {@link ObjectOutputStream#writeObject writeObject(Object obj)} is called * {@link ObjectOutputStream#writeObject writeObject(Object obj)} is called
* to serialize the field {@code descriptor} directly. * to serialize the field {@code descriptor} directly.
* </ul> * </ul>
* </ul> *
* @since 1.6 * @since 1.6
*/ */
private void writeObject(ObjectOutputStream out) throws IOException { private void writeObject(ObjectOutputStream out) throws IOException {
...@@ -661,7 +661,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead { ...@@ -661,7 +661,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead {
* Deserializes an {@link MBeanInfo} from an {@link ObjectInputStream}. * Deserializes an {@link MBeanInfo} from an {@link ObjectInputStream}.
* @serialData * @serialData
* For compatibility reasons, an object of this class is deserialized as follows. * For compatibility reasons, an object of this class is deserialized as follows.
* <ul> * <p>
* The method {@link ObjectInputStream#defaultReadObject defaultReadObject()} * The method {@link ObjectInputStream#defaultReadObject defaultReadObject()}
* is called first to deserialize the object except the field * is called first to deserialize the object except the field
* {@code descriptor}, which is not serialized in the default way. Then the method * {@code descriptor}, which is not serialized in the default way. Then the method
...@@ -683,7 +683,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead { ...@@ -683,7 +683,7 @@ public class MBeanInfo implements Cloneable, Serializable, DescriptorRead {
* {@link ImmutableDescriptor#EMPTY_DESCRIPTOR EMPTY_DESCRIPTOR}.</li> * {@link ImmutableDescriptor#EMPTY_DESCRIPTOR EMPTY_DESCRIPTOR}.</li>
* <li>Any other value. A {@link StreamCorruptedException} is thrown.</li> * <li>Any other value. A {@link StreamCorruptedException} is thrown.</li>
* </ul> * </ul>
* </ul> *
* @since 1.6 * @since 1.6
*/ */
......
...@@ -244,7 +244,6 @@ import javax.management.loading.ClassLoaderRepository; ...@@ -244,7 +244,6 @@ import javax.management.loading.ClassLoaderRepository;
* the caller's permissions must imply {@link * the caller's permissions must imply {@link
* MBeanPermission#MBeanPermission(String,String,ObjectName,String) * MBeanPermission#MBeanPermission(String,String,ObjectName,String)
* MBeanPermission(className, null, name, "unregisterMBean")}.</p> * MBeanPermission(className, null, name, "unregisterMBean")}.</p>
* </p>
* *
* </ul> * </ul>
* *
......
...@@ -627,7 +627,7 @@ public interface MBeanServerConnection { ...@@ -627,7 +627,7 @@ public interface MBeanServerConnection {
* for that attribute, although this is not guaranteed to work. (For * for that attribute, although this is not guaranteed to work. (For
* example, the values of two attributes may have been rejected because * example, the values of two attributes may have been rejected because
* they were inconsistent with each other. Setting one of them alone might * they were inconsistent with each other. Setting one of them alone might
* be allowed.)<p> * be allowed.)
* *
* <p>Here is an example of calling this method and checking that it * <p>Here is an example of calling this method and checking that it
* succeeded in setting all the requested attributes:</p> * succeeded in setting all the requested attributes:</p>
......
...@@ -86,7 +86,7 @@ package javax.management; ...@@ -86,7 +86,7 @@ package javax.management;
* be set to an array of ObjectNames containing the names of all MBeans * be set to an array of ObjectNames containing the names of all MBeans
* being registered or unregistered.</li> * being registered or unregistered.</li>
* </ul> * </ul>
* </p> *
* <p> * <p>
* MBeans which emit these group registration/unregistration notifications will * MBeans which emit these group registration/unregistration notifications will
* declare them in their {@link MBeanInfo#getNotifications() * declare them in their {@link MBeanInfo#getNotifications()
......
...@@ -79,7 +79,7 @@ import javax.management.openmbean.TabularType; ...@@ -79,7 +79,7 @@ import javax.management.openmbean.TabularType;
public interface MisleadingMXBean {} public interface MisleadingMXBean {}
</pre> </pre>
<h3 id="MXBean-spec">MXBean specification</a></h3> <h3 id="MXBean-spec">MXBean specification</h3>
<p>The MXBean concept provides a simple way to code an MBean <p>The MXBean concept provides a simple way to code an MBean
that only references a predefined set of types, the ones defined that only references a predefined set of types, the ones defined
...@@ -93,7 +93,7 @@ import javax.management.openmbean.TabularType; ...@@ -93,7 +93,7 @@ import javax.management.openmbean.TabularType;
Standard MBean concept. Here is how a managed object might be Standard MBean concept. Here is how a managed object might be
represented as a Standard MBean, and as an MXBean:</p> represented as a Standard MBean, and as an MXBean:</p>
<table border="1" cellpadding="5"> <table border="1" cellpadding="5" summary="Standard Bean vs. MXBean">
<tr> <tr>
<th>Standard MBean</th><th>MXBean</th> <th>Standard MBean</th><th>MXBean</th>
</tr> </tr>
...@@ -133,7 +133,7 @@ public interface MemoryPool<b>MXBean</b> { ...@@ -133,7 +133,7 @@ public interface MemoryPool<b>MXBean</b> {
<p>So, we might define <code>MemoryUsage</code> like this:</p> <p>So, we might define <code>MemoryUsage</code> like this:</p>
<table border="1" cellpadding="5"> <table border="1" cellpadding="5" summary="Standard Bean vs. MXBean">
<tr> <tr>
<th>Standard MBean</th><th>MXBean</th> <th>Standard MBean</th><th>MXBean</th>
</tr> </tr>
...@@ -195,7 +195,7 @@ public class MemoryUsage { ...@@ -195,7 +195,7 @@ public class MemoryUsage {
<p>This becomes clearer if we compare what the clients of the two <p>This becomes clearer if we compare what the clients of the two
models might look like:</p> models might look like:</p>
<table border="1" cellpadding="5"> <table border="1" cellpadding="5" summary="Standard Bean vs. MXBean">
<tr> <tr>
<th>Standard MBean</th><th>MXBean</th> <th>Standard MBean</th><th>MXBean</th>
</tr> </tr>
...@@ -232,7 +232,7 @@ String name = (String) ...@@ -232,7 +232,7 @@ String name = (String)
managed objects when you know the model beforehand, regardless managed objects when you know the model beforehand, regardless
of whether you are using Standard MBeans or MXBeans:</p> of whether you are using Standard MBeans or MXBeans:</p>
<table border="1" cellpadding="5"> <table border="1" cellpadding="5" summary="Standard Bean vs. MXBean">
<tr> <tr>
<th>Standard MBean</th><th>MXBean</th> <th>Standard MBean</th><th>MXBean</th>
</tr> </tr>
...@@ -265,7 +265,7 @@ long used = usage.getUsed(); ...@@ -265,7 +265,7 @@ long used = usage.getUsed();
<p>Implementing the MemoryPool object works similarly for both <p>Implementing the MemoryPool object works similarly for both
Standard MBeans and MXBeans.</p> Standard MBeans and MXBeans.</p>
<table border="1" cellpadding="5"> <table border="1" cellpadding="5" summary="Standard Bean vs. MXBean">
<tr> <tr>
<th>Standard MBean</th><th>MXBean</th> <th>Standard MBean</th><th>MXBean</th>
</tr> </tr>
...@@ -292,7 +292,7 @@ public class MemoryPool ...@@ -292,7 +292,7 @@ public class MemoryPool
<p>Registering the MBean in the MBean Server works in the same way <p>Registering the MBean in the MBean Server works in the same way
in both cases:</p> in both cases:</p>
<table border="1" cellpadding="5"> <table border="1" cellpadding="5" summary="Standard Bean vs. MXBean">
<tr> <tr>
<th>Standard MBean</th><th>MXBean</th> <th>Standard MBean</th><th>MXBean</th>
</tr> </tr>
...@@ -478,13 +478,13 @@ public class MemoryPool ...@@ -478,13 +478,13 @@ public class MemoryPool
<p>The following table summarizes the type mapping rules.</p> <p>The following table summarizes the type mapping rules.</p>
<table border="1" cellpadding="5"> <table border="1" cellpadding="5" summary="Type Mapping Rules">
<tr> <tr>
<th>Java type <em>J</em></th> <th>Java type <em>J</em></th>
<th><em>opentype(J)</em></th> <th><em>opentype(J)</em></th>
<th><em>opendata(J)</em></th> <th><em>opendata(J)</em></th>
</tr> </tr>
<tbody cellvalign="top"> <tbody valign="top">
<tr> <tr>
<td>{@code int}, {@code boolean}, etc<br> <td>{@code int}, {@code boolean}, etc<br>
(the 8 primitive Java types)</td> (the 8 primitive Java types)</td>
...@@ -785,7 +785,7 @@ public interface ModuleMXBean { ...@@ -785,7 +785,7 @@ public interface ModuleMXBean {
</blockquote> </blockquote>
then the item in the {@code CompositeType} is called {@code name} then the item in the {@code CompositeType} is called {@code name}
and has type {@code SimpleType.BOOLEAN}.</p> and has type {@code SimpleType.BOOLEAN}.
<p>Notice that the first character (or code point) is converted to <p>Notice that the first character (or code point) is converted to
lower case. This follows the Java Beans convention, which for lower case. This follows the Java Beans convention, which for
......
...@@ -112,7 +112,7 @@ class NumericValueExp extends QueryEval implements ValueExp { ...@@ -112,7 +112,7 @@ class NumericValueExp extends QueryEval implements ValueExp {
public NumericValueExp() { public NumericValueExp() {
} }
/** Creates a new NumericValue representing the numeric literal <val>.*/ /** Creates a new NumericValue representing the numeric literal @{code val}.*/
NumericValueExp(Number val) NumericValueExp(Number val)
{ {
this.val = val; this.val = val;
......
...@@ -195,7 +195,7 @@ import java.util.Map; ...@@ -195,7 +195,7 @@ import java.util.Map;
* represents an ObjectName with two keys. The name of each key * represents an ObjectName with two keys. The name of each key
* contains six characters, of which the first and last are spaces. * contains six characters, of which the first and last are spaces.
* The value associated with the key <code>"&nbsp;key1&nbsp;"</code> * The value associated with the key <code>"&nbsp;key1&nbsp;"</code>
* also begins and ends with a space.</p> * also begins and ends with a space.
* *
* <p>In addition to the restrictions on characters spelt out above, * <p>In addition to the restrictions on characters spelt out above,
* no part of an ObjectName may contain a newline character * no part of an ObjectName may contain a newline character
...@@ -665,7 +665,7 @@ public class ObjectName implements Comparable<ObjectName>, QueryExp { ...@@ -665,7 +665,7 @@ public class ObjectName implements Comparable<ObjectName>, QueryExp {
* Construct an ObjectName from a domain and a Hashtable. * Construct an ObjectName from a domain and a Hashtable.
* *
* @param domain Domain of the ObjectName. * @param domain Domain of the ObjectName.
* @param props Map containing couples <i>key</i> -> <i>value</i>. * @param props Map containing couples <i>key</i> {@literal ->} <i>value</i>.
* *
* @exception MalformedObjectNameException The <code>domain</code> * @exception MalformedObjectNameException The <code>domain</code>
* contains an illegal character, or one of the keys or values in * contains an illegal character, or one of the keys or values in
...@@ -1549,7 +1549,7 @@ public class ObjectName implements Comparable<ObjectName>, QueryExp { ...@@ -1549,7 +1549,7 @@ public class ObjectName implements Comparable<ObjectName>, QueryExp {
* <li>a comma and an * <li>a comma and an
* asterisk (<code>,*</code>) for an ObjectName that is a property * asterisk (<code>,*</code>) for an ObjectName that is a property
* list pattern with at least one key. * list pattern with at least one key.
* </ul></p> * </ul>
* *
* @return The canonical form of the name. * @return The canonical form of the name.
*/ */
......
...@@ -70,17 +70,19 @@ public interface PersistentMBean { ...@@ -70,17 +70,19 @@ public interface PersistentMBean {
* <P> * <P>
* Persistence policy from the MBean and attribute descriptor is used to guide execution * Persistence policy from the MBean and attribute descriptor is used to guide execution
* of this method. The MBean should be stored if 'persistPolicy' field is: * of this method. The MBean should be stored if 'persistPolicy' field is:
* <PRE> != "never" * <PRE>{@literal != "never"
* = "always" * = "always"
* = "onTimer" and now > 'lastPersistTime' + 'persistPeriod' * = "onTimer" and now > 'lastPersistTime' + 'persistPeriod'
* = "NoMoreOftenThan" and now > 'lastPersistTime' + 'persistPeriod' * = "NoMoreOftenThan" and now > 'lastPersistTime' + 'persistPeriod'
* = "onUnregister" * = "onUnregister"
* <P> * }</PRE>
* <p>
* Do not store the MBean if 'persistPolicy' field is: * Do not store the MBean if 'persistPolicy' field is:
* <PRE>{@literal
* = "never" * = "never"
* = "onUpdate" * = "onUpdate"
* = "onTimer" && now < 'lastPersistTime' + 'persistPeriod' * = "onTimer" && now < 'lastPersistTime' + 'persistPeriod'
* <P></PRE> * }</PRE>
* *
* @exception MBeanException Wraps another exception or persistence is not supported * @exception MBeanException Wraps another exception or persistence is not supported
* @exception RuntimeOperationsException Wraps exceptions from the persistence mechanism * @exception RuntimeOperationsException Wraps exceptions from the persistence mechanism
......
...@@ -127,9 +127,9 @@ package javax.management; ...@@ -127,9 +127,9 @@ package javax.management;
* @param q2 Another query expression. * @param q2 Another query expression.
* *
* @return The conjunction of the two arguments. The returned object * @return The conjunction of the two arguments. The returned object
* will be serialized as an instance of the non-public class {@link * will be serialized as an instance of the non-public class
* <a href="../../serialized-form.html#javax.management.AndQueryExp"> * <a href="../../serialized-form.html#javax.management.AndQueryExp">
* javax.management.AndQueryExp</a>}. * javax.management.AndQueryExp</a>.
*/ */
public static QueryExp and(QueryExp q1, QueryExp q2) { public static QueryExp and(QueryExp q1, QueryExp q2) {
return new AndQueryExp(q1, q2); return new AndQueryExp(q1, q2);
...@@ -143,9 +143,9 @@ package javax.management; ...@@ -143,9 +143,9 @@ package javax.management;
* @param q2 Another query expression. * @param q2 Another query expression.
* *
* @return The disjunction of the two arguments. The returned object * @return The disjunction of the two arguments. The returned object
* will be serialized as an instance of the non-public class {@link * will be serialized as an instance of the non-public class
* <a href="../../serialized-form.html#javax.management.OrQueryExp"> * <a href="../../serialized-form.html#javax.management.OrQueryExp">
* javax.management.OrQueryExp</a>}. * javax.management.OrQueryExp</a>.
*/ */
public static QueryExp or(QueryExp q1, QueryExp q2) { public static QueryExp or(QueryExp q1, QueryExp q2) {
return new OrQueryExp(q1, q2); return new OrQueryExp(q1, q2);
...@@ -160,9 +160,9 @@ package javax.management; ...@@ -160,9 +160,9 @@ package javax.management;
* *
* @return A "greater than" constraint on the arguments. The * @return A "greater than" constraint on the arguments. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.BinaryRelQueryExp"> * <a href="../../serialized-form.html#javax.management.BinaryRelQueryExp">
* javax.management.BinaryRelQueryExp</a>} with a {@code relOp} equal * javax.management.BinaryRelQueryExp</a> with a {@code relOp} equal
* to {@link #GT}. * to {@link #GT}.
*/ */
public static QueryExp gt(ValueExp v1, ValueExp v2) { public static QueryExp gt(ValueExp v1, ValueExp v2) {
...@@ -178,9 +178,9 @@ package javax.management; ...@@ -178,9 +178,9 @@ package javax.management;
* *
* @return A "greater than or equal to" constraint on the * @return A "greater than or equal to" constraint on the
* arguments. The returned object will be serialized as an * arguments. The returned object will be serialized as an
* instance of the non-public class {@link <a * instance of the non-public class
* href="../../serialized-form.html#javax.management.BinaryRelQueryExp"> * <a href="../../serialized-form.html#javax.management.BinaryRelQueryExp">
* javax.management.BinaryRelQueryExp</a>} with a {@code relOp} equal * javax.management.BinaryRelQueryExp</a> with a {@code relOp} equal
* to {@link #GE}. * to {@link #GE}.
*/ */
public static QueryExp geq(ValueExp v1, ValueExp v2) { public static QueryExp geq(ValueExp v1, ValueExp v2) {
...@@ -196,9 +196,9 @@ package javax.management; ...@@ -196,9 +196,9 @@ package javax.management;
* *
* @return A "less than or equal to" constraint on the arguments. * @return A "less than or equal to" constraint on the arguments.
* The returned object will be serialized as an instance of the * The returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.BinaryRelQueryExp"> * <a href="../../serialized-form.html#javax.management.BinaryRelQueryExp">
* javax.management.BinaryRelQueryExp</a>} with a {@code relOp} equal * javax.management.BinaryRelQueryExp</a> with a {@code relOp} equal
* to {@link #LE}. * to {@link #LE}.
*/ */
public static QueryExp leq(ValueExp v1, ValueExp v2) { public static QueryExp leq(ValueExp v1, ValueExp v2) {
...@@ -214,9 +214,9 @@ package javax.management; ...@@ -214,9 +214,9 @@ package javax.management;
* *
* @return A "less than" constraint on the arguments. The * @return A "less than" constraint on the arguments. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.BinaryRelQueryExp"> * <a href="../../serialized-form.html#javax.management.BinaryRelQueryExp">
* javax.management.BinaryRelQueryExp</a>} with a {@code relOp} equal * javax.management.BinaryRelQueryExp</a> with a {@code relOp} equal
* to {@link #LT}. * to {@link #LT}.
*/ */
public static QueryExp lt(ValueExp v1, ValueExp v2) { public static QueryExp lt(ValueExp v1, ValueExp v2) {
...@@ -232,9 +232,9 @@ package javax.management; ...@@ -232,9 +232,9 @@ package javax.management;
* *
* @return A "equal to" constraint on the arguments. The * @return A "equal to" constraint on the arguments. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.BinaryRelQueryExp"> * <a href="../../serialized-form.html#javax.management.BinaryRelQueryExp">
* javax.management.BinaryRelQueryExp</a>} with a {@code relOp} equal * javax.management.BinaryRelQueryExp</a> with a {@code relOp} equal
* to {@link #EQ}. * to {@link #EQ}.
*/ */
public static QueryExp eq(ValueExp v1, ValueExp v2) { public static QueryExp eq(ValueExp v1, ValueExp v2) {
...@@ -251,9 +251,9 @@ package javax.management; ...@@ -251,9 +251,9 @@ package javax.management;
* *
* @return The constraint that v1 lies between v2 and v3. The * @return The constraint that v1 lies between v2 and v3. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.BetweenQueryExp"> * <a href="../../serialized-form.html#javax.management.BetweenQueryExp">
* javax.management.BetweenQueryExp</a>}. * javax.management.BetweenQueryExp</a>.
*/ */
public static QueryExp between(ValueExp v1, ValueExp v2, ValueExp v3) { public static QueryExp between(ValueExp v1, ValueExp v2, ValueExp v3) {
return new BetweenQueryExp(v1, v2, v3); return new BetweenQueryExp(v1, v2, v3);
...@@ -279,9 +279,9 @@ package javax.management; ...@@ -279,9 +279,9 @@ package javax.management;
* *
* @return A query expression that represents the matching * @return A query expression that represents the matching
* constraint on the string argument. The returned object will * constraint on the string argument. The returned object will
* be serialized as an instance of the non-public class {@link <a * be serialized as an instance of the non-public class
* href="../../serialized-form.html#javax.management.MatchQueryExp"> * <a href="../../serialized-form.html#javax.management.MatchQueryExp">
* javax.management.MatchQueryExp</a>}. * javax.management.MatchQueryExp</a>.
*/ */
public static QueryExp match(AttributeValueExp a, StringValueExp s) { public static QueryExp match(AttributeValueExp a, StringValueExp s) {
return new MatchQueryExp(a, s); return new MatchQueryExp(a, s);
...@@ -319,9 +319,9 @@ package javax.management; ...@@ -319,9 +319,9 @@ package javax.management;
* *
* @return An attribute expression for the attribute named name. * @return An attribute expression for the attribute named name.
* The returned object will be serialized as an instance of the * The returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.QualifiedAttributeValueExp"> * <a href="../../serialized-form.html#javax.management.QualifiedAttributeValueExp">
* javax.management.QualifiedAttributeValueExp</a>}. * javax.management.QualifiedAttributeValueExp</a>.
*/ */
public static AttributeValueExp attr(String className, String name) { public static AttributeValueExp attr(String className, String name) {
return new QualifiedAttributeValueExp(className, name); return new QualifiedAttributeValueExp(className, name);
...@@ -338,9 +338,8 @@ package javax.management; ...@@ -338,9 +338,8 @@ package javax.management;
* *
* @return A class attribute expression. The returned object * @return A class attribute expression. The returned object
* will be serialized as an instance of the non-public class * will be serialized as an instance of the non-public class
* {@link <a * <a href="../../serialized-form.html#javax.management.ClassAttributeValueExp">
* href="../../serialized-form.html#javax.management.ClassAttributeValueExp"> * javax.management.ClassAttributeValueExp</a>.
* javax.management.ClassAttributeValueExp</a>}.
*/ */
public static AttributeValueExp classattr() { public static AttributeValueExp classattr() {
return new ClassAttributeValueExp(); return new ClassAttributeValueExp();
...@@ -352,9 +351,9 @@ package javax.management; ...@@ -352,9 +351,9 @@ package javax.management;
* @param queryExp The constraint to negate. * @param queryExp The constraint to negate.
* *
* @return A negated constraint. The returned object will be * @return A negated constraint. The returned object will be
* serialized as an instance of the non-public class {@link <a * serialized as an instance of the non-public class
* href="../../serialized-form.html#javax.management.NotQueryExp"> * <a href="../../serialized-form.html#javax.management.NotQueryExp">
* javax.management.NotQueryExp</a>}. * javax.management.NotQueryExp</a>.
*/ */
public static QueryExp not(QueryExp queryExp) { public static QueryExp not(QueryExp queryExp) {
return new NotQueryExp(queryExp); return new NotQueryExp(queryExp);
...@@ -368,9 +367,9 @@ package javax.management; ...@@ -368,9 +367,9 @@ package javax.management;
* *
* @return A QueryExp that represents the constraint. The * @return A QueryExp that represents the constraint. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.InQueryExp"> * <a href="../../serialized-form.html#javax.management.InQueryExp">
* javax.management.InQueryExp</a>}. * javax.management.InQueryExp</a>.
*/ */
public static QueryExp in(ValueExp val, ValueExp valueList[]) { public static QueryExp in(ValueExp val, ValueExp valueList[]) {
return new InQueryExp(val, valueList); return new InQueryExp(val, valueList);
...@@ -395,9 +394,9 @@ package javax.management; ...@@ -395,9 +394,9 @@ package javax.management;
* *
* @return A ValueExp object containing the argument. The * @return A ValueExp object containing the argument. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.NumericValueExp"> * <a href="../../serialized-form.html#javax.management.NumericValueExp">
* javax.management.NumericValueExp</a>}. * javax.management.NumericValueExp</a>.
*/ */
public static ValueExp value(Number val) { public static ValueExp value(Number val) {
return new NumericValueExp(val); return new NumericValueExp(val);
...@@ -411,9 +410,9 @@ package javax.management; ...@@ -411,9 +410,9 @@ package javax.management;
* *
* @return A ValueExp object containing the argument. The * @return A ValueExp object containing the argument. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.NumericValueExp"> * <a href="../../serialized-form.html#javax.management.NumericValueExp">
* javax.management.NumericValueExp</a>}. * javax.management.NumericValueExp</a>.
*/ */
public static ValueExp value(int val) { public static ValueExp value(int val) {
return new NumericValueExp((long) val); return new NumericValueExp((long) val);
...@@ -427,9 +426,9 @@ package javax.management; ...@@ -427,9 +426,9 @@ package javax.management;
* *
* @return A ValueExp object containing the argument. The * @return A ValueExp object containing the argument. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.NumericValueExp"> * <a href="../../serialized-form.html#javax.management.NumericValueExp">
* javax.management.NumericValueExp</a>}. * javax.management.NumericValueExp</a>.
*/ */
public static ValueExp value(long val) { public static ValueExp value(long val) {
return new NumericValueExp(val); return new NumericValueExp(val);
...@@ -443,9 +442,9 @@ package javax.management; ...@@ -443,9 +442,9 @@ package javax.management;
* *
* @return A ValueExp object containing the argument. The * @return A ValueExp object containing the argument. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.NumericValueExp"> * <a href="../../serialized-form.html#javax.management.NumericValueExp">
* javax.management.NumericValueExp</a>}. * javax.management.NumericValueExp</a>.
*/ */
public static ValueExp value(float val) { public static ValueExp value(float val) {
return new NumericValueExp((double) val); return new NumericValueExp((double) val);
...@@ -459,9 +458,9 @@ package javax.management; ...@@ -459,9 +458,9 @@ package javax.management;
* *
* @return A ValueExp object containing the argument. The * @return A ValueExp object containing the argument. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.NumericValueExp"> * <a href="../../serialized-form.html#javax.management.NumericValueExp">
* javax.management.NumericValueExp</a>}. * javax.management.NumericValueExp</a>.
*/ */
public static ValueExp value(double val) { public static ValueExp value(double val) {
return new NumericValueExp(val); return new NumericValueExp(val);
...@@ -475,9 +474,9 @@ package javax.management; ...@@ -475,9 +474,9 @@ package javax.management;
* *
* @return A ValueExp object containing the argument. The * @return A ValueExp object containing the argument. The
* returned object will be serialized as an instance of the * returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.BooleanValueExp"> * <a href="../../serialized-form.html#javax.management.BooleanValueExp">
* javax.management.BooleanValueExp</a>}. * javax.management.BooleanValueExp</a>.
*/ */
public static ValueExp value(boolean val) { public static ValueExp value(boolean val) {
return new BooleanValueExp(val); return new BooleanValueExp(val);
...@@ -492,9 +491,9 @@ package javax.management; ...@@ -492,9 +491,9 @@ package javax.management;
* *
* @return A ValueExp representing the sum or concatenation of * @return A ValueExp representing the sum or concatenation of
* the two arguments. The returned object will be serialized as * the two arguments. The returned object will be serialized as
* an instance of the non-public class {@link <a * an instance of the non-public class
* href="../../serialized-form.html#javax.management.BinaryOpValueExp"> * <a href="../../serialized-form.html#javax.management.BinaryOpValueExp">
* javax.management.BinaryOpValueExp</a>} with an {@code op} equal to * javax.management.BinaryOpValueExp</a> with an {@code op} equal to
* {@link #PLUS}. * {@link #PLUS}.
*/ */
public static ValueExp plus(ValueExp value1, ValueExp value2) { public static ValueExp plus(ValueExp value1, ValueExp value2) {
...@@ -510,9 +509,9 @@ package javax.management; ...@@ -510,9 +509,9 @@ package javax.management;
* *
* @return A ValueExp representing the product. The returned * @return A ValueExp representing the product. The returned
* object will be serialized as an instance of the non-public * object will be serialized as an instance of the non-public
* class {@link <a * class
* href="../../serialized-form.html#javax.management.BinaryOpValueExp"> * <a href="../../serialized-form.html#javax.management.BinaryOpValueExp">
* javax.management.BinaryOpValueExp</a>} with an {@code op} equal to * javax.management.BinaryOpValueExp</a> with an {@code op} equal to
* {@link #TIMES}. * {@link #TIMES}.
*/ */
public static ValueExp times(ValueExp value1,ValueExp value2) { public static ValueExp times(ValueExp value1,ValueExp value2) {
...@@ -528,9 +527,9 @@ package javax.management; ...@@ -528,9 +527,9 @@ package javax.management;
* *
* @return A ValueExp representing the difference between two * @return A ValueExp representing the difference between two
* arguments. The returned object will be serialized as an * arguments. The returned object will be serialized as an
* instance of the non-public class {@link <a * instance of the non-public class
* href="../../serialized-form.html#javax.management.BinaryOpValueExp"> * <a href="../../serialized-form.html#javax.management.BinaryOpValueExp">
* javax.management.BinaryOpValueExp</a>} with an {@code op} equal to * javax.management.BinaryOpValueExp</a> with an {@code op} equal to
* {@link #MINUS}. * {@link #MINUS}.
*/ */
public static ValueExp minus(ValueExp value1, ValueExp value2) { public static ValueExp minus(ValueExp value1, ValueExp value2) {
...@@ -546,9 +545,9 @@ package javax.management; ...@@ -546,9 +545,9 @@ package javax.management;
* *
* @return A ValueExp representing the quotient of two arguments. * @return A ValueExp representing the quotient of two arguments.
* The returned object will be serialized as an instance of the * The returned object will be serialized as an instance of the
* non-public class {@link <a * non-public class
* href="../../serialized-form.html#javax.management.BinaryOpValueExp"> * <a href="../../serialized-form.html#javax.management.BinaryOpValueExp">
* javax.management.BinaryOpValueExp</a>} with an {@code op} equal to * javax.management.BinaryOpValueExp</a> with an {@code op} equal to
* {@link #DIV}. * {@link #DIV}.
*/ */
public static ValueExp div(ValueExp value1, ValueExp value2) { public static ValueExp div(ValueExp value1, ValueExp value2) {
...@@ -566,9 +565,9 @@ package javax.management; ...@@ -566,9 +565,9 @@ package javax.management;
* *
* @return The constraint that a matches s. The returned object * @return The constraint that a matches s. The returned object
* will be serialized as an instance of the non-public class * will be serialized as an instance of the non-public class
* {@link <a *
* href="../../serialized-form.html#javax.management.MatchQueryExp"> * <a href="../../serialized-form.html#javax.management.MatchQueryExp">
* javax.management.MatchQueryExp</a>}. * javax.management.MatchQueryExp</a>.
*/ */
public static QueryExp initialSubString(AttributeValueExp a, StringValueExp s) { public static QueryExp initialSubString(AttributeValueExp a, StringValueExp s) {
return new MatchQueryExp(a, return new MatchQueryExp(a,
...@@ -585,9 +584,9 @@ package javax.management; ...@@ -585,9 +584,9 @@ package javax.management;
* *
* @return The constraint that a matches s. The returned object * @return The constraint that a matches s. The returned object
* will be serialized as an instance of the non-public class * will be serialized as an instance of the non-public class
* {@link <a *
* href="../../serialized-form.html#javax.management.MatchQueryExp"> * <a href="../../serialized-form.html#javax.management.MatchQueryExp">
* javax.management.MatchQueryExp</a>}. * javax.management.MatchQueryExp</a>.
*/ */
public static QueryExp anySubString(AttributeValueExp a, StringValueExp s) { public static QueryExp anySubString(AttributeValueExp a, StringValueExp s) {
return new MatchQueryExp(a, return new MatchQueryExp(a,
...@@ -605,9 +604,9 @@ package javax.management; ...@@ -605,9 +604,9 @@ package javax.management;
* *
* @return The constraint that a matches s. The returned object * @return The constraint that a matches s. The returned object
* will be serialized as an instance of the non-public class * will be serialized as an instance of the non-public class
* {@link <a *
* href="../../serialized-form.html#javax.management.MatchQueryExp"> * <a href="../../serialized-form.html#javax.management.MatchQueryExp">
* javax.management.MatchQueryExp</a>}. * javax.management.MatchQueryExp</a>.
*/ */
public static QueryExp finalSubString(AttributeValueExp a, StringValueExp s) { public static QueryExp finalSubString(AttributeValueExp a, StringValueExp s) {
return new MatchQueryExp(a, return new MatchQueryExp(a,
...@@ -630,9 +629,9 @@ package javax.management; ...@@ -630,9 +629,9 @@ package javax.management;
* of the class of which selected MBeans should be instances. * of the class of which selected MBeans should be instances.
* @return a query expression that represents an inheritance * @return a query expression that represents an inheritance
* constraint on an MBean class. The returned object will be * constraint on an MBean class. The returned object will be
* serialized as an instance of the non-public class {@link <a * serialized as an instance of the non-public class
* href="../../serialized-form.html#javax.management.InstanceOfQueryExp"> * <a href="../../serialized-form.html#javax.management.InstanceOfQueryExp">
* javax.management.InstanceOfQueryExp</a>}. * javax.management.InstanceOfQueryExp</a>.
* @since 1.6 * @since 1.6
*/ */
public static QueryExp isInstanceOf(StringValueExp classNameValue) { public static QueryExp isInstanceOf(StringValueExp classNameValue) {
......
...@@ -145,17 +145,17 @@ import javax.management.ServiceNotFoundException; ...@@ -145,17 +145,17 @@ import javax.management.ServiceNotFoundException;
* This optional attribute specifies a list of one or more parameters for the * This optional attribute specifies a list of one or more parameters for the
* MBean to be instantiated. This list describes the parameters to be passed the MBean's constructor. * MBean to be instantiated. This list describes the parameters to be passed the MBean's constructor.
* Use the following syntax to specify each item in * Use the following syntax to specify each item in
* <VAR>arglist</VAR>:</DD> * <VAR>arglist</VAR>:
* <DL> * <DL>
* <P>
* <DT>&lt;<CODE>ARG TYPE=</CODE><VAR>argumentType</VAR> <CODE>VALUE=</CODE><VAR>value</VAR>&gt;</DT> * <DT>&lt;<CODE>ARG TYPE=</CODE><VAR>argumentType</VAR> <CODE>VALUE=</CODE><VAR>value</VAR>&gt;</DT>
* <P> * <DD>where:
* <DD>where:</DD>
* <UL> * <UL>
* <LI><VAR>argumentType</VAR> is the type of the argument that will be passed as parameter to the MBean's constructor.</UL> * <LI><VAR>argumentType</VAR> is the type of the argument that will be passed as parameter to the MBean's constructor.</UL>
* </DD>
* </DL> * </DL>
* <P>The arguments' type in the argument list should be a Java primitive type or a Java basic type * <P>The arguments' type in the argument list should be a Java primitive type or a Java basic type
* (<CODE>java.lang.Boolean, java.lang.Byte, java.lang.Short, java.lang.Long, java.lang.Integer, java.lang.Float, java.lang.Double, java.lang.String</CODE>). * (<CODE>java.lang.Boolean, java.lang.Byte, java.lang.Short, java.lang.Long, java.lang.Integer, java.lang.Float, java.lang.Double, java.lang.String</CODE>).
* </DD>
* </DL> * </DL>
* *
* When an m-let text file is loaded, an * When an m-let text file is loaded, an
......
...@@ -149,7 +149,7 @@ class MLetParser { ...@@ -149,7 +149,7 @@ class MLetParser {
} }
/** /**
* Scan an html file for <mlet> tags * Scan an html file for {@literal <mlet>} tags.
*/ */
public List<MLetContent> parse(URL url) throws IOException { public List<MLetContent> parse(URL url) throws IOException {
String mth = "parse"; String mth = "parse";
......
...@@ -799,7 +799,7 @@ public class DescriptorSupport ...@@ -799,7 +799,7 @@ public class DescriptorSupport
* the given object is also a Descriptor, and if the two Descriptors have * the given object is also a Descriptor, and if the two Descriptors have
* the same field names (possibly differing in case) and the same * the same field names (possibly differing in case) and the same
* associated values. The respective values for a field in the two * associated values. The respective values for a field in the two
* Descriptors are equal if the following conditions hold:</p> * Descriptors are equal if the following conditions hold:
* *
* <ul> * <ul>
* <li>If one value is null then the other must be too.</li> * <li>If one value is null then the other must be too.</li>
...@@ -871,7 +871,6 @@ public class DescriptorSupport ...@@ -871,7 +871,6 @@ public class DescriptorSupport
* done on the <i>"export"</i> field. * done on the <i>"export"</i> field.
* <P> * <P>
* Otherwise this implementation returns false if: * Otherwise this implementation returns false if:
* <P>
* <UL> * <UL>
* <LI> name and descriptorType fieldNames are not defined, or * <LI> name and descriptorType fieldNames are not defined, or
* null, or empty, or not String * null, or empty, or not String
...@@ -879,14 +878,14 @@ public class DescriptorSupport ...@@ -879,14 +878,14 @@ public class DescriptorSupport
* are null or not String * are null or not String
* <LI> persistPeriod, currencyTimeLimit, lastUpdatedTimeStamp, * <LI> persistPeriod, currencyTimeLimit, lastUpdatedTimeStamp,
* lastReturnedTimeStamp if defined, are null, or not a Numeric * lastReturnedTimeStamp if defined, are null, or not a Numeric
* String or not a Numeric Value >= -1 * String or not a Numeric Value {@literal >= -1}
* <LI> log fieldName, if defined, is null, or not a Boolean or * <LI> log fieldName, if defined, is null, or not a Boolean or
* not a String with value "t", "f", "true", "false". These String * not a String with value "t", "f", "true", "false". These String
* values must not be case sensitive. * values must not be case sensitive.
* <LI> visibility fieldName, if defined, is null, or not a * <LI> visibility fieldName, if defined, is null, or not a
* Numeric String or a not Numeric Value >= 1 and &lt;= 4 * Numeric String or a not Numeric Value {@literal >= 1 and <= 4}
* <LI> severity fieldName, if defined, is null, or not a Numeric * <LI> severity fieldName, if defined, is null, or not a Numeric
* String or not a Numeric Value >= 0 and &lt;= 6<br> * String or not a Numeric Value {@literal >= 0 and <= 6}<br>
* <LI> persistPolicy fieldName, if defined, is null, or not one of * <LI> persistPolicy fieldName, if defined, is null, or not one of
* the following strings:<br> * the following strings:<br>
* "OnUpdate", "OnTimer", "NoMoreOftenThan", "OnUnregister", "Always", * "OnUpdate", "OnTimer", "NoMoreOftenThan", "OnUnregister", "Always",
...@@ -1270,8 +1269,8 @@ public class DescriptorSupport ...@@ -1270,8 +1269,8 @@ public class DescriptorSupport
} }
/** /**
* Returns <pv>a human readable string representing the * Returns a human readable string representing the
* descriptor</pv>. The string will be in the format of * descriptor. The string will be in the format of
* "fieldName=fieldValue,fieldName2=fieldValue2,..."<br> * "fieldName=fieldValue,fieldName2=fieldValue2,..."<br>
* *
* If there are no fields in the descriptor, then an empty String * If there are no fields in the descriptor, then an empty String
......
...@@ -57,7 +57,7 @@ import javax.management.RuntimeOperationsException; ...@@ -57,7 +57,7 @@ import javax.management.RuntimeOperationsException;
* Note that when the Type in this table is Number, a String that is the decimal * Note that when the Type in this table is Number, a String that is the decimal
* representation of a Long can also be used.</P> * representation of a Long can also be used.</P>
* *
* <table border="1" cellpadding="5"> * <table border="1" cellpadding="5" summary="ModelMBeanAttributeInfo Fields">
* <tr><th>Name</th><th>Type</th><th>Meaning</th></tr> * <tr><th>Name</th><th>Type</th><th>Meaning</th></tr>
* <tr><td>name</td><td>String</td> * <tr><td>name</td><td>String</td>
* <td>Attribute name.</td></tr> * <td>Attribute name.</td></tr>
......
...@@ -58,7 +58,7 @@ import javax.management.RuntimeOperationsException; ...@@ -58,7 +58,7 @@ import javax.management.RuntimeOperationsException;
* Note that when the Type in this table is Number, a String that is the decimal * Note that when the Type in this table is Number, a String that is the decimal
* representation of a Long can also be used.</P> * representation of a Long can also be used.</P>
* *
* <table border="1" cellpadding="5"> * <table border="1" cellpadding="5" summary="ModelMBeanConstructorInfo Fields">
* <tr><th>Name</th><th>Type</th><th>Meaning</th></tr> * <tr><th>Name</th><th>Type</th><th>Meaning</th></tr>
* <tr><td>name</td><td>String</td> * <tr><td>name</td><td>String</td>
* <td>Constructor name.</td></tr> * <td>Constructor name.</td></tr>
......
...@@ -165,7 +165,7 @@ public interface ModelMBeanInfo ...@@ -165,7 +165,7 @@ public interface ModelMBeanInfo
* following. Note that when the Type in this table is Number, a String * following. Note that when the Type in this table is Number, a String
* that is the decimal representation of a Long can also be used.</P> * that is the decimal representation of a Long can also be used.</P>
* *
* <table border="1" cellpadding="5"> * <table border="1" cellpadding="5" summary="ModelMBean Fields">
* <tr><th>Name</th><th>Type</th><th>Meaning</th></tr> * <tr><th>Name</th><th>Type</th><th>Meaning</th></tr>
* <tr><td>name</td><td>String</td> * <tr><td>name</td><td>String</td>
* <td>MBean name.</td></tr> * <td>MBean name.</td></tr>
......
...@@ -127,7 +127,6 @@ public interface ModelMBeanNotificationBroadcaster extends NotificationBroadcast ...@@ -127,7 +127,6 @@ public interface ModelMBeanNotificationBroadcaster extends NotificationBroadcast
* <P> * <P>
* @param oldValue The original value for the Attribute * @param oldValue The original value for the Attribute
* @param newValue The current value for the Attribute * @param newValue The current value for the Attribute
*<P>
* <PRE> * <PRE>
* The constructed attributeChangeNotification will be: * The constructed attributeChangeNotification will be:
* type "jmx.attribute.change" * type "jmx.attribute.change"
......
...@@ -56,7 +56,7 @@ import javax.management.RuntimeOperationsException; ...@@ -56,7 +56,7 @@ import javax.management.RuntimeOperationsException;
* Note that when the Type in this table is Number, a String that is the decimal * Note that when the Type in this table is Number, a String that is the decimal
* representation of a Long can also be used.</P> * representation of a Long can also be used.</P>
* *
* <table border="1" cellpadding="5"> * <table border="1" cellpadding="5" summary="ModelMBeanNotificationInfo Fields">
* <tr><th>Name</th><th>Type</th><th>Meaning</th></tr> * <tr><th>Name</th><th>Type</th><th>Meaning</th></tr>
* <tr><td>name</td><td>String</td> * <tr><td>name</td><td>String</td>
* <td>Notification name.</td></tr> * <td>Notification name.</td></tr>
......
...@@ -59,7 +59,7 @@ import javax.management.RuntimeOperationsException; ...@@ -59,7 +59,7 @@ import javax.management.RuntimeOperationsException;
* Note that when the Type in this table is Number, a String that is the decimal * Note that when the Type in this table is Number, a String that is the decimal
* representation of a Long can also be used.</P> * representation of a Long can also be used.</P>
* *
* <table border="1" cellpadding="5"> * <table border="1" cellpadding="5" summary="ModelMBeanOperationInfo Fields">
* <tr><th>Name</th><th>Type</th><th>Meaning</th></tr> * <tr><th>Name</th><th>Type</th><th>Meaning</th></tr>
* <tr><td>name</td><td>String</td> * <tr><td>name</td><td>String</td>
* <td>Operation name.</td></tr> * <td>Operation name.</td></tr>
......
...@@ -421,19 +421,19 @@ public class RequiredModelMBean ...@@ -421,19 +421,19 @@ public class RequiredModelMBean
* is used to guide execution of this method. The MBean should be * is used to guide execution of this method. The MBean should be
* stored if 'persistPolicy' field is:</p> * stored if 'persistPolicy' field is:</p>
* *
* <PRE> != "never" * <PRE>{@literal != "never"
* = "always" * = "always"
* = "onTimer" and now > 'lastPersistTime' + 'persistPeriod' * = "onTimer" and now > 'lastPersistTime' + 'persistPeriod'
* = "NoMoreOftenThan" and now > 'lastPersistTime' + 'persistPeriod' * = "NoMoreOftenThan" and now > 'lastPersistTime' + 'persistPeriod'
* = "onUnregister" * = "onUnregister"
* </PRE> * }</PRE>
* *
* <p>Do not store the MBean if 'persistPolicy' field is:</p> * <p>Do not store the MBean if 'persistPolicy' field is:</p>
* <PRE> * <PRE>{@literal
* = "never" * = "never"
* = "onUpdate" * = "onUpdate"
* = "onTimer" && now < 'lastPersistTime' + 'persistPeriod' * = "onTimer" && now < 'lastPersistTime' + 'persistPeriod'
* </PRE> * }</PRE>
* *
* @exception MBeanException Wraps another exception, or * @exception MBeanException Wraps another exception, or
* persistence is not supported * persistence is not supported
...@@ -469,11 +469,14 @@ public class RequiredModelMBean ...@@ -469,11 +469,14 @@ public class RequiredModelMBean
* <li><b>&gt;0</b> Represents the number of seconds that the * <li><b>&gt;0</b> Represents the number of seconds that the
* 'value' field is valid. * 'value' field is valid.
* The 'value' field is no longer valid when * The 'value' field is no longer valid when
* 'lastUpdatedTimeStamp' + 'currencyTimeLimit' &gt; Now.</li> * 'lastUpdatedTimeStamp' + 'currencyTimeLimit' &gt; Now.
* <ul>
* <li>When 'value' is valid, 'valid' is returned.</li>
* <li>When 'value' is no longer valid then null is returned and
* 'value' and 'lastUpdatedTimeStamp' fields are cleared.</li>
* </ul>
* </li>
* </ul> * </ul>
* <li>When 'value' is valid, 'valid' is returned.</li>
* <li>When 'value' is no longer valid then null is returned and
* 'value' and 'lastUpdatedTimeStamp' fields are cleared.</li>
* *
**/ **/
private Object resolveForCacheValue(Descriptor descr) private Object resolveForCacheValue(Descriptor descr)
...@@ -1842,17 +1845,17 @@ public class RequiredModelMBean ...@@ -1842,17 +1845,17 @@ public class RequiredModelMBean
* <Li> != "never"</Li> * <Li> != "never"</Li>
* <Li> = "always"</Li> * <Li> = "always"</Li>
* <Li> = "onUpdate"</Li> * <Li> = "onUpdate"</Li>
* <Li> = "onTimer" and now &gt; 'lastPersistTime' + 'persistPeriod'</Li> * <Li> {@literal = "onTimer" and now > 'lastPersistTime' + 'persistPeriod'}</Li>
* <Li> = "NoMoreOftenThan" and now &gt; 'lastPersistTime' + * <Li> {@literal = "NoMoreOftenThan" and now > 'lastPersistTime' +
* 'persistPeriod'</Li> * 'persistPeriod'}</Li>
* </UL> * </UL>
* Do not store the MBean if 'persistPolicy' field is: * Do not store the MBean if 'persistPolicy' field is:
* <UL> * <UL>
* <Li> = "never"</Li> * <Li> = "never"</Li>
* <Li> = "onTimer" && now &lt; 'lastPersistTime' + 'persistPeriod'</Li> * <Li> = {@literal = "onTimer" && now < 'lastPersistTime' + 'persistPeriod'}</Li>
* <Li> = "onUnregister"</Li> * <Li> = "onUnregister"</Li>
* <Li> = "NoMoreOftenThan" and now &lt; 'lastPersistTime' + * <Li> = {@literal = "NoMoreOftenThan" and now < 'lastPersistTime' +
* 'persistPeriod'</Li> * 'persistPeriod'}</Li>
* </UL> * </UL>
* *
* <p>The ModelMBeanInfo of the Model MBean is stored in a file. * <p>The ModelMBeanInfo of the Model MBean is stored in a file.
......
...@@ -1609,7 +1609,7 @@ public abstract class Monitor ...@@ -1609,7 +1609,7 @@ public abstract class Monitor
* the thread instantiating this DaemonThreadFactory. Each new * the thread instantiating this DaemonThreadFactory. Each new
* thread is created as a daemon thread with priority * thread is created as a daemon thread with priority
* Thread.NORM_PRIORITY. New threads have names accessible via * Thread.NORM_PRIORITY. New threads have names accessible via
* Thread.getName() of "JMX Monitor <pool-name> Pool [Thread-M]", * Thread.getName() of "{@literal JMX Monitor <pool-name> Pool [Thread-M]}",
* where M is the sequence number of the thread created by this * where M is the sequence number of the thread created by this
* factory. * factory.
*/ */
......
...@@ -33,7 +33,7 @@ import java.lang.reflect.Array; ...@@ -33,7 +33,7 @@ import java.lang.reflect.Array;
* all <i>open data</i> values which are n-dimensional arrays of <i>open data</i> values. * all <i>open data</i> values which are n-dimensional arrays of <i>open data</i> values.
* <p> * <p>
* Examples of valid {@code ArrayType} instances are: * Examples of valid {@code ArrayType} instances are:
* <pre> * <pre>{@code
* // 2-dimension array of java.lang.String * // 2-dimension array of java.lang.String
* ArrayType<String[][]> a1 = new ArrayType<String[][]>(2, SimpleType.STRING); * ArrayType<String[][]> a1 = new ArrayType<String[][]>(2, SimpleType.STRING);
* *
...@@ -90,7 +90,7 @@ import java.lang.reflect.Array; ...@@ -90,7 +90,7 @@ import java.lang.reflect.Array;
* *
* // 3-dimension array of java.lang.String * // 3-dimension array of java.lang.String
* ArrayType<String[][][]> a19 = new ArrayType<String[][][]>(1, a18); * ArrayType<String[][][]> a19 = new ArrayType<String[][][]>(1, a18);
* </pre> * }</pre>
* *
* *
* @since 1.5 * @since 1.5
...@@ -241,23 +241,23 @@ public class ArrayType<T> extends OpenType<T> { ...@@ -241,23 +241,23 @@ public class ArrayType<T> extends OpenType<T> {
* </ul> * </ul>
* <p> * <p>
* As an example, the following piece of code: * As an example, the following piece of code:
* <pre> * <pre>{@code
* ArrayType<String[][][]> t = new ArrayType<String[][][]>(3, SimpleType.STRING); * ArrayType<String[][][]> t = new ArrayType<String[][][]>(3, SimpleType.STRING);
* System.out.println("array class name = " + t.getClassName()); * System.out.println("array class name = " + t.getClassName());
* System.out.println("element class name = " + t.getElementOpenType().getClassName()); * System.out.println("element class name = " + t.getElementOpenType().getClassName());
* System.out.println("array type name = " + t.getTypeName()); * System.out.println("array type name = " + t.getTypeName());
* System.out.println("array type description = " + t.getDescription()); * System.out.println("array type description = " + t.getDescription());
* </pre> * }</pre>
* would produce the following output: * would produce the following output:
* <pre> * <pre>{@code
* array class name = [[[Ljava.lang.String; * array class name = [[[Ljava.lang.String;
* element class name = java.lang.String * element class name = java.lang.String
* array type name = [[[Ljava.lang.String; * array type name = [[[Ljava.lang.String;
* array type description = 3-dimension array of java.lang.String * array type description = 3-dimension array of java.lang.String
* </pre> * }</pre>
* And the following piece of code which is equivalent to the one listed * And the following piece of code which is equivalent to the one listed
* above would also produce the same output: * above would also produce the same output:
* <pre> * <pre>{@code
* ArrayType<String[]> t1 = new ArrayType<String[]>(1, SimpleType.STRING); * ArrayType<String[]> t1 = new ArrayType<String[]>(1, SimpleType.STRING);
* ArrayType<String[][]> t2 = new ArrayType<String[][]>(1, t1); * ArrayType<String[][]> t2 = new ArrayType<String[][]>(1, t1);
* ArrayType<String[][][]> t3 = new ArrayType<String[][][]>(1, t2); * ArrayType<String[][][]> t3 = new ArrayType<String[][][]>(1, t2);
...@@ -265,7 +265,7 @@ public class ArrayType<T> extends OpenType<T> { ...@@ -265,7 +265,7 @@ public class ArrayType<T> extends OpenType<T> {
* System.out.println("element class name = " + t3.getElementOpenType().getClassName()); * System.out.println("element class name = " + t3.getElementOpenType().getClassName());
* System.out.println("array type name = " + t3.getTypeName()); * System.out.println("array type name = " + t3.getTypeName());
* System.out.println("array type description = " + t3.getDescription()); * System.out.println("array type description = " + t3.getDescription());
* </pre> * }</pre>
* *
* @param dimension the dimension of arrays described by this <tt>ArrayType</tt> instance; * @param dimension the dimension of arrays described by this <tt>ArrayType</tt> instance;
* must be greater than or equal to 1. * must be greater than or equal to 1.
...@@ -334,20 +334,20 @@ public class ArrayType<T> extends OpenType<T> { ...@@ -334,20 +334,20 @@ public class ArrayType<T> extends OpenType<T> {
* </ul> * </ul>
* <p> * <p>
* As an example, the following piece of code: * As an example, the following piece of code:
* <pre> * <pre>{@code
* ArrayType<int[]> t = new ArrayType<int[]>(SimpleType.INTEGER, true); * ArrayType<int[]> t = new ArrayType<int[]>(SimpleType.INTEGER, true);
* System.out.println("array class name = " + t.getClassName()); * System.out.println("array class name = " + t.getClassName());
* System.out.println("element class name = " + t.getElementOpenType().getClassName()); * System.out.println("element class name = " + t.getElementOpenType().getClassName());
* System.out.println("array type name = " + t.getTypeName()); * System.out.println("array type name = " + t.getTypeName());
* System.out.println("array type description = " + t.getDescription()); * System.out.println("array type description = " + t.getDescription());
* </pre> * }</pre>
* would produce the following output: * would produce the following output:
* <pre> * <pre>{@code
* array class name = [I * array class name = [I
* element class name = java.lang.Integer * element class name = java.lang.Integer
* array type name = [I * array type name = [I
* array type description = 1-dimension array of int * array type description = 1-dimension array of int
* </pre> * }</pre>
* *
* @param elementType the {@code SimpleType} of the element values * @param elementType the {@code SimpleType} of the element values
* contained in the arrays described by this * contained in the arrays described by this
...@@ -533,7 +533,7 @@ public class ArrayType<T> extends OpenType<T> { ...@@ -533,7 +533,7 @@ public class ArrayType<T> extends OpenType<T> {
* <li>if this <code>ArrayType</code> instance describes an array of * <li>if this <code>ArrayType</code> instance describes an array of
* classes implementing the {@code TabularData} interface or the * classes implementing the {@code TabularData} interface or the
* {@code CompositeData} interface, <var>obj</var> is assignable to * {@code CompositeData} interface, <var>obj</var> is assignable to
* such a declared array, and each element contained in <var>obj</var> * such a declared array, and each element contained in {<var>obj</var>
* is either null or a valid value for the element's open type specified * is either null or a valid value for the element's open type specified
* by this <code>ArrayType</code> instance.</li> * by this <code>ArrayType</code> instance.</li>
* </ul> * </ul>
...@@ -776,7 +776,7 @@ public class ArrayType<T> extends OpenType<T> { ...@@ -776,7 +776,7 @@ public class ArrayType<T> extends OpenType<T> {
* object or two equal but not identical objects. * object or two equal but not identical objects.
* <p> * <p>
* As an example, the following piece of code: * As an example, the following piece of code:
* <pre> * <pre>{@code
* ArrayType<String[]> t1 = ArrayType.getArrayType(SimpleType.STRING); * ArrayType<String[]> t1 = ArrayType.getArrayType(SimpleType.STRING);
* ArrayType<String[][]> t2 = ArrayType.getArrayType(t1); * ArrayType<String[][]> t2 = ArrayType.getArrayType(t1);
* ArrayType<String[][][]> t3 = ArrayType.getArrayType(t2); * ArrayType<String[][][]> t3 = ArrayType.getArrayType(t2);
...@@ -784,14 +784,14 @@ public class ArrayType<T> extends OpenType<T> { ...@@ -784,14 +784,14 @@ public class ArrayType<T> extends OpenType<T> {
* System.out.println("element class name = " + t3.getElementOpenType().getClassName()); * System.out.println("element class name = " + t3.getElementOpenType().getClassName());
* System.out.println("array type name = " + t3.getTypeName()); * System.out.println("array type name = " + t3.getTypeName());
* System.out.println("array type description = " + t3.getDescription()); * System.out.println("array type description = " + t3.getDescription());
* </pre> * }</pre>
* would produce the following output: * would produce the following output:
* <pre> * <pre>{@code
* array class name = [[[Ljava.lang.String; * array class name = [[[Ljava.lang.String;
* element class name = java.lang.String * element class name = java.lang.String
* array type name = [[[Ljava.lang.String; * array type name = [[[Ljava.lang.String;
* array type description = 3-dimension array of java.lang.String * array type description = 3-dimension array of java.lang.String
* </pre> * }</pre>
* *
* @param elementType the <i>open type</i> of element values contained * @param elementType the <i>open type</i> of element values contained
* in the arrays described by this <tt>ArrayType</tt> * in the arrays described by this <tt>ArrayType</tt>
...@@ -819,20 +819,20 @@ public class ArrayType<T> extends OpenType<T> { ...@@ -819,20 +819,20 @@ public class ArrayType<T> extends OpenType<T> {
* same object or two equal but not identical objects. * same object or two equal but not identical objects.
* <p> * <p>
* As an example, the following piece of code: * As an example, the following piece of code:
* <pre> * <pre>{@code
* ArrayType<int[][][]> t = ArrayType.getPrimitiveArrayType(int[][][].class); * ArrayType<int[][][]> t = ArrayType.getPrimitiveArrayType(int[][][].class);
* System.out.println("array class name = " + t.getClassName()); * System.out.println("array class name = " + t.getClassName());
* System.out.println("element class name = " + t.getElementOpenType().getClassName()); * System.out.println("element class name = " + t.getElementOpenType().getClassName());
* System.out.println("array type name = " + t.getTypeName()); * System.out.println("array type name = " + t.getTypeName());
* System.out.println("array type description = " + t.getDescription()); * System.out.println("array type description = " + t.getDescription());
* </pre> * }</pre>
* would produce the following output: * would produce the following output:
* <pre> * <pre>{@code
* array class name = [[[I * array class name = [[[I
* element class name = java.lang.Integer * element class name = java.lang.Integer
* array type name = [[[I * array type name = [[[I
* array type description = 3-dimension array of int * array type description = 3-dimension array of int
* </pre> * }</pre>
* *
* @param arrayClass a primitive array class such as {@code int[].class}, * @param arrayClass a primitive array class such as {@code int[].class},
* {@code boolean[][].class}, etc. The {@link * {@code boolean[][].class}, etc. The {@link
......
...@@ -80,7 +80,7 @@ import java.lang.reflect.Proxy; ...@@ -80,7 +80,7 @@ import java.lang.reflect.Proxy;
</pre> </pre>
</blockquote> </blockquote>
A call to {@code nn.getNumber()} will then return <b>5</b>.</p> A call to {@code nn.getNumber()} will then return <b>5</b>.
<p>If the first letter of the property defined by a getter is a <p>If the first letter of the property defined by a getter is a
capital, then this handler will look first for an item in the capital, then this handler will look first for an item in the
......
...@@ -40,7 +40,7 @@ import java.util.Iterator; ...@@ -40,7 +40,7 @@ import java.util.Iterator;
/** /**
* The <code>CompositeType</code> class is the <i>open type</i> class * The <code>CompositeType</code> class is the <i>open type</i> class
* whose instances describe the types of {@link CompositeData <code>CompositeData</code>} values. * whose instances describe the types of {@link CompositeData CompositeData} values.
* *
* *
* @since 1.5 * @since 1.5
......
...@@ -138,8 +138,8 @@ public class OpenMBeanAttributeInfoSupport ...@@ -138,8 +138,8 @@ public class OpenMBeanAttributeInfoSupport
* *
* <p>The {@code descriptor} can contain entries that will define * <p>The {@code descriptor} can contain entries that will define
* the values returned by certain methods of this class, as * the values returned by certain methods of this class, as
* explained in the {@link <a href="package-summary.html#constraints"> * explained in the <a href="package-summary.html#constraints">
* package description</a>}. * package description</a>.
* *
* @param name cannot be a null or empty string. * @param name cannot be a null or empty string.
* *
...@@ -162,8 +162,7 @@ public class OpenMBeanAttributeInfoSupport ...@@ -162,8 +162,7 @@ public class OpenMBeanAttributeInfoSupport
* @throws IllegalArgumentException if {@code name} or {@code * @throws IllegalArgumentException if {@code name} or {@code
* description} are null or empty string, or {@code openType} is * description} are null or empty string, or {@code openType} is
* null, or the descriptor entries are invalid as described in the * null, or the descriptor entries are invalid as described in the
* {@link <a href="package-summary.html#constraints">package * <a href="package-summary.html#constraints">package description</a>.
* description</a>}.
* *
* @since 1.6 * @since 1.6
*/ */
......
...@@ -111,16 +111,16 @@ public class OpenMBeanParameterInfoSupport ...@@ -111,16 +111,16 @@ public class OpenMBeanParameterInfoSupport
} }
/** /**
* <p>Constructs an {@code OpenMBeanParameterInfoSupport} instance, * Constructs an {@code OpenMBeanParameterInfoSupport} instance,
* which describes the parameter used in one or more operations or * which describes the parameter used in one or more operations or
* constructors of a class of open MBeans, with the specified * constructors of a class of open MBeans, with the specified
* {@code name}, {@code openType}, {@code description}, * {@code name}, {@code openType}, {@code description},
* and {@code descriptor}.</p> * and {@code descriptor}.
* *
* <p>The {@code descriptor} can contain entries that will define * <p>The {@code descriptor} can contain entries that will define
* the values returned by certain methods of this class, as * the values returned by certain methods of this class, as
* explained in the {@link <a href="package-summary.html#constraints"> * explained in the <a href="package-summary.html#constraints">
* package description</a>}. * package description</a>.
* *
* @param name cannot be a null or empty string. * @param name cannot be a null or empty string.
* *
...@@ -134,8 +134,8 @@ public class OpenMBeanParameterInfoSupport ...@@ -134,8 +134,8 @@ public class OpenMBeanParameterInfoSupport
* @throws IllegalArgumentException if {@code name} or {@code * @throws IllegalArgumentException if {@code name} or {@code
* description} are null or empty string, or {@code openType} is * description} are null or empty string, or {@code openType} is
* null, or the descriptor entries are invalid as described in the * null, or the descriptor entries are invalid as described in the
* {@link <a href="package-summary.html#constraints">package * <a href="package-summary.html#constraints">package
* description</a>}. * description</a>.
* *
* @since 1.6 * @since 1.6
*/ */
......
...@@ -45,8 +45,8 @@ import javax.management.ObjectName; ...@@ -45,8 +45,8 @@ import javax.management.ObjectName;
/** /**
* The <code>SimpleType</code> class is the <i>open type</i> class whose instances describe * The <code>SimpleType</code> class is the <i>open type</i> class whose instances describe
* all <i>open data</i> values which are neither arrays, * all <i>open data</i> values which are neither arrays,
* nor {@link CompositeData <code>CompositeData</code>} values, * nor {@link CompositeData CompositeData} values,
* nor {@link TabularData <code>TabularData</code>} values. * nor {@link TabularData TabularData} values.
* It predefines all its possible instances as static fields, and has no public constructor. * It predefines all its possible instances as static fields, and has no public constructor.
* <p> * <p>
* Given a <code>SimpleType</code> instance describing values whose Java class name is <i>className</i>, * Given a <code>SimpleType</code> instance describing values whose Java class name is <i>className</i>,
......
...@@ -40,7 +40,7 @@ import java.util.List; ...@@ -40,7 +40,7 @@ import java.util.List;
/** /**
* The <code>TabularType</code> class is the <i> open type</i> class * The <code>TabularType</code> class is the <i> open type</i> class
* whose instances describe the types of {@link TabularData <code>TabularData</code>} values. * whose instances describe the types of {@link TabularData TabularData} values.
* *
* @since 1.5 * @since 1.5
*/ */
...@@ -89,8 +89,8 @@ public class TabularType extends OpenType<TabularData> { ...@@ -89,8 +89,8 @@ public class TabularType extends OpenType<TabularData> {
* cannot be null or empty. Each element should be an item name defined in <var>rowType</var> * cannot be null or empty. Each element should be an item name defined in <var>rowType</var>
* (no null or empty string allowed). * (no null or empty string allowed).
* It is important to note that the <b>order</b> of the item names in <var>indexNames</var> * It is important to note that the <b>order</b> of the item names in <var>indexNames</var>
* is used by the methods {@link TabularData#get(java.lang.Object[]) <code>get</code>} and * is used by the methods {@link TabularData#get(java.lang.Object[]) get} and
* {@link TabularData#remove(java.lang.Object[]) <code>remove</code>} of class * {@link TabularData#remove(java.lang.Object[]) remove} of class
* <code>TabularData</code> to match their array of values parameter to items. * <code>TabularData</code> to match their array of values parameter to items.
* <br>&nbsp; * <br>&nbsp;
* @throws IllegalArgumentException if <var>rowType</var> is null, * @throws IllegalArgumentException if <var>rowType</var> is null,
......
...@@ -236,7 +236,7 @@ public interface Relation { ...@@ -236,7 +236,7 @@ public interface Relation {
* Retrieves MBeans referenced in the various roles of the relation. * Retrieves MBeans referenced in the various roles of the relation.
* *
* @return a HashMap mapping: * @return a HashMap mapping:
* <P> ObjectName -> ArrayList of String (role names) * <P> ObjectName {@literal ->} ArrayList of String (role names)
*/ */
public Map<ObjectName,List<String>> getReferencedMBeans(); public Map<ObjectName,List<String>> getReferencedMBeans();
......
...@@ -2306,8 +2306,7 @@ public class RelationService extends NotificationBroadcasterSupport ...@@ -2306,8 +2306,7 @@ public class RelationService extends NotificationBroadcasterSupport
* @param relationId relation id * @param relationId relation id
* *
* @return a HashMap mapping: * @return a HashMap mapping:
* <P> ObjectName -> ArrayList of String (role * <P> ObjectName {@literal ->} ArrayList of String (role names)
* names)
* *
* @exception IllegalArgumentException if null parameter * @exception IllegalArgumentException if null parameter
* @exception RelationNotFoundException if no relation for given * @exception RelationNotFoundException if no relation for given
......
...@@ -770,7 +770,7 @@ public interface RelationServiceMBean { ...@@ -770,7 +770,7 @@ public interface RelationServiceMBean {
* @param relationId relation id * @param relationId relation id
* *
* @return a HashMap mapping: * @return a HashMap mapping:
* <P> ObjectName -> ArrayList of String (role * <P> ObjectName {@literal ->} ArrayList of String (role
* names) * names)
* *
* @exception IllegalArgumentException if null parameter * @exception IllegalArgumentException if null parameter
......
...@@ -590,7 +590,7 @@ public class RelationSupport ...@@ -590,7 +590,7 @@ public class RelationSupport
* Retrieves MBeans referenced in the various roles of the relation. * Retrieves MBeans referenced in the various roles of the relation.
* *
* @return a HashMap mapping: * @return a HashMap mapping:
* <P> ObjectName -> ArrayList of String (role names) * <P> ObjectName {@literal ->} ArrayList of String (role names)
*/ */
public Map<ObjectName,List<String>> getReferencedMBeans() { public Map<ObjectName,List<String>> getReferencedMBeans() {
......
...@@ -40,7 +40,7 @@ import javax.management.ObjectName; ...@@ -40,7 +40,7 @@ import javax.management.ObjectName;
* *
* <p>The notification type is one of the following:</p> * <p>The notification type is one of the following:</p>
* *
* <table> * <table summary="JMXConnectionNotification Types">
* *
* <tr> * <tr>
* <th align=left>Type</th> * <th align=left>Type</th>
......
...@@ -76,7 +76,7 @@ public interface JMXConnector extends Closeable { ...@@ -76,7 +76,7 @@ public interface JMXConnector extends Closeable {
* <p>If <code>connect</code> has already been called successfully * <p>If <code>connect</code> has already been called successfully
* on this object, calling it again has no effect. If, however, * on this object, calling it again has no effect. If, however,
* {@link #close} was called after <code>connect</code>, the new * {@link #close} was called after <code>connect</code>, the new
* <code>connect</code> will throw an <code>IOException</code>.<p> * <code>connect</code> will throw an <code>IOException</code>.
* *
* <p>Otherwise, either <code>connect</code> has never been called * <p>Otherwise, either <code>connect</code> has never been called
* on this object, or it has been called but produced an * on this object, or it has been called but produced an
......
...@@ -50,7 +50,7 @@ public interface JMXConnectorProvider { ...@@ -50,7 +50,7 @@ public interface JMXConnectorProvider {
* @param environment a read-only Map containing named attributes * @param environment a read-only Map containing named attributes
* to determine how the connection is made. Keys in this map must * to determine how the connection is made. Keys in this map must
* be Strings. The appropriate type of each associated value * be Strings. The appropriate type of each associated value
* depends on the attribute.</p> * depends on the attribute.
* *
* @return a <code>JMXConnector</code> representing the new * @return a <code>JMXConnector</code> representing the new
* connector client. Each successful call to this method produces * connector client. Each successful call to this method produces
......
...@@ -1613,7 +1613,7 @@ public class RMIConnectionImpl implements RMIConnection, Unreferenced { ...@@ -1613,7 +1613,7 @@ public class RMIConnectionImpl implements RMIConnection, Unreferenced {
/** /**
* Construct a new IOException with a nested exception. * Construct a new IOException with a nested exception.
* The nested exception is set only if JDK >= 1.4 * The nested exception is set only if JDK {@literal >= 1.4}
*/ */
private static IOException newIOException(String message, private static IOException newIOException(String message,
Throwable cause) { Throwable cause) {
......
...@@ -1688,17 +1688,17 @@ public class RMIConnector implements JMXConnector, Serializable, JMXAddressable ...@@ -1688,17 +1688,17 @@ public class RMIConnector implements JMXConnector, Serializable, JMXAddressable
* this method will attempt to connect the stub to an ORB as * this method will attempt to connect the stub to an ORB as
* follows: * follows:
* <ul> * <ul>
* <p>This method looks in the provided <var>environment</var> for * <li>This method looks in the provided <var>environment</var> for
* the "java.naming.corba.orb" property. If it is found, the * the "java.naming.corba.orb" property. If it is found, the
* referenced object (an {@link org.omg.CORBA.ORB ORB}) is used to * referenced object (an {@link org.omg.CORBA.ORB ORB}) is used to
* connect the stub. Otherwise, a new org.omg.CORBA.ORB is created * connect the stub. Otherwise, a new org.omg.CORBA.ORB is created
* by calling {@link * by calling {@link
* org.omg.CORBA.ORB#init(String[], Properties) * org.omg.CORBA.ORB#init(String[], Properties)
* org.omg.CORBA.ORB.init((String[])null,(Properties)null)} * org.omg.CORBA.ORB.init((String[])null,(Properties)null)}</li>
* <p>The new created ORB is kept in a static * <li>The new created ORB is kept in a static
* {@link WeakReference} and can be reused for connecting other * {@link WeakReference} and can be reused for connecting other
* stubs. However, no reference is ever kept on the ORB provided * stubs. However, no reference is ever kept on the ORB provided
* in the <var>environment</var> map, if any. * in the <var>environment</var> map, if any.</li>
* </ul> * </ul>
* @param rmiServer A RMI Server Stub. * @param rmiServer A RMI Server Stub.
* @param environment An environment map, possibly containing an ORB. * @param environment An environment map, possibly containing an ORB.
......
...@@ -820,7 +820,7 @@ public class RMIConnectorServer extends JMXConnectorServer { ...@@ -820,7 +820,7 @@ public class RMIConnectorServer extends JMXConnectorServer {
/** /**
* Construct a new IOException with a nested exception. * Construct a new IOException with a nested exception.
* The nested exception is set only if JDK >= 1.4 * The nested exception is set only if JDK {@literal >= 1.4}
*/ */
private static IOException newIOException(String message, private static IOException newIOException(String message,
Throwable cause) { Throwable cause) {
......
...@@ -117,7 +117,7 @@ public abstract class RMIServerImpl implements Closeable, RMIServer { ...@@ -117,7 +117,7 @@ public abstract class RMIServerImpl implements Closeable, RMIServer {
* server.</p> * server.</p>
* *
* @return the default <code>ClassLoader</code> used by this * @return the default <code>ClassLoader</code> used by this
* connector server.</p> * connector server.
* *
* @see #setDefaultClassLoader * @see #setDefaultClassLoader
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册