changeset 476:13b8426bb0cd

6734273: Minor updates to documentation of Custom MXBean Mappings Reviewed-by: dfuchs
author emcmanus
date Wed, 06 Aug 2008 18:28:53 +0200
parents 00c40e393a75
children 871c10d47f8d
files src/share/classes/javax/management/MXBean.java src/share/classes/javax/management/openmbean/MXBeanMapping.java src/share/classes/javax/management/openmbean/MXBeanMappingFactory.java
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/javax/management/MXBean.java	Tue Aug 05 10:49:58 2008 +0200
+++ b/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/src/share/classes/javax/management/openmbean/MXBeanMapping.java	Tue Aug 05 10:49:58 2008 +0200
+++ b/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/src/share/classes/javax/management/openmbean/MXBeanMappingFactory.java	Tue Aug 05 10:49:58 2008 +0200
+++ b/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 {
     /**