6734273: Minor updates to documentation of Custom MXBean Mappings
authoremcmanus
Wed, 06 Aug 2008 18:28:53 +0200
changeset 1011 2cc4873fa29f
parent 1010 b60e070b4395
child 1013 a9abec8db74d
6734273: Minor updates to documentation of Custom MXBean Mappings Reviewed-by: dfuchs
jdk/src/share/classes/javax/management/MXBean.java
jdk/src/share/classes/javax/management/openmbean/MXBeanMapping.java
jdk/src/share/classes/javax/management/openmbean/MXBeanMappingFactory.java
--- a/jdk/src/share/classes/javax/management/MXBean.java	Tue Aug 05 10:49:58 2008 +0200
+++ b/jdk/src/share/classes/javax/management/MXBean.java	Wed Aug 06 18:28:53 2008 +0200
@@ -1081,9 +1081,10 @@
       MXBean is determined as follows.</p>
 
     <ul>
-      <li><p>If an {@link JMX.MBeanOptions} argument is supplied to
+      <li><p>If a {@link JMX.MBeanOptions} argument is supplied to
           the {@link StandardMBean} constructor that makes an MXBean,
-          or to the {@link JMX#newMXBeanProxy JMX.newMXBeanProxy}
+          or to the {@link JMX#newMBeanProxy(MBeanServerConnection,
+          ObjectName, Class, JMX.MBeanOptions) JMX.newMBeanProxy}
           method, and the {@code MBeanOptions} object defines a non-null
           {@code MXBeanMappingFactory}, then that is the value of
           <code><em>f</em></code>.</p></li>
--- a/jdk/src/share/classes/javax/management/openmbean/MXBeanMapping.java	Tue Aug 05 10:49:58 2008 +0200
+++ b/jdk/src/share/classes/javax/management/openmbean/MXBeanMapping.java	Wed Aug 06 18:28:53 2008 +0200
@@ -108,6 +108,9 @@
  * <p>If we are unable to modify the {@code MyLinkedList} class,
  * we can define an {@link MXBeanMappingFactory}.  See the documentation
  * of that class for further details.</p>
+ *
+ * @see <a href="../MXBean.html#custom">MXBean specification, section
+ * "Custom MXBean type mappings"</a>
  */
 public abstract class MXBeanMapping {
     private final Type javaType;
--- a/jdk/src/share/classes/javax/management/openmbean/MXBeanMappingFactory.java	Tue Aug 05 10:49:58 2008 +0200
+++ b/jdk/src/share/classes/javax/management/openmbean/MXBeanMappingFactory.java	Wed Aug 06 18:28:53 2008 +0200
@@ -82,6 +82,9 @@
  * appears in, or we can supply the factory to a {@link
  * javax.management.StandardMBean StandardMBean} constructor or MXBean
  * proxy.</p>
+ *
+ * @see <a href="../MXBean.html#custom">MXBean specification, section
+ * "Custom MXBean type mappings"</a>
  */
 public abstract class MXBeanMappingFactory {
     /**