提交 a8f8d6df 编写于 作者: E emcmanus

6734273: Minor updates to documentation of Custom MXBean Mappings

Reviewed-by: dfuchs
上级 e6ee3891
...@@ -1081,9 +1081,10 @@ public interface Node { ...@@ -1081,9 +1081,10 @@ public interface Node {
MXBean is determined as follows.</p> MXBean is determined as follows.</p>
<ul> <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, 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 method, and the {@code MBeanOptions} object defines a non-null
{@code MXBeanMappingFactory}, then that is the value of {@code MXBeanMappingFactory}, then that is the value of
<code><em>f</em></code>.</p></li> <code><em>f</em></code>.</p></li>
......
...@@ -108,6 +108,9 @@ import java.lang.reflect.Type; ...@@ -108,6 +108,9 @@ import java.lang.reflect.Type;
* <p>If we are unable to modify the {@code MyLinkedList} class, * <p>If we are unable to modify the {@code MyLinkedList} class,
* we can define an {@link MXBeanMappingFactory}. See the documentation * we can define an {@link MXBeanMappingFactory}. See the documentation
* of that class for further details.</p> * 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 { public abstract class MXBeanMapping {
private final Type javaType; private final Type javaType;
......
...@@ -82,6 +82,9 @@ import java.lang.reflect.Type; ...@@ -82,6 +82,9 @@ import java.lang.reflect.Type;
* appears in, or we can supply the factory to a {@link * appears in, or we can supply the factory to a {@link
* javax.management.StandardMBean StandardMBean} constructor or MXBean * javax.management.StandardMBean StandardMBean} constructor or MXBean
* proxy.</p> * proxy.</p>
*
* @see <a href="../MXBean.html#custom">MXBean specification, section
* "Custom MXBean type mappings"</a>
*/ */
public abstract class MXBeanMappingFactory { public abstract class MXBeanMappingFactory {
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册