jdk/src/share/classes/com/sun/jmx/mbeanserver/MBeanIntrospector.java
changeset 1699 3611e5fd6da5
parent 1697 98a530cd0594
child 1702 50e12093123c
equal deleted inserted replaced
1698:2f0b565a475e 1699:3611e5fd6da5
   401                     "interfaceClassName=" + mbeanInterface.getName();
   401                     "interfaceClassName=" + mbeanInterface.getName();
   402             final Descriptor classNameDescriptor =
   402             final Descriptor classNameDescriptor =
   403                     new ImmutableDescriptor(interfaceClassName);
   403                     new ImmutableDescriptor(interfaceClassName);
   404             final Descriptor mbeanDescriptor = getBasicMBeanDescriptor();
   404             final Descriptor mbeanDescriptor = getBasicMBeanDescriptor();
   405             final Descriptor annotatedDescriptor =
   405             final Descriptor annotatedDescriptor =
   406                     Introspector.descriptorForElement(mbeanInterface);
   406                     Introspector.descriptorForElement(mbeanInterface, false);
   407             final Descriptor descriptor =
   407             final Descriptor descriptor =
   408                 DescriptorCache.getInstance().union(
   408                 DescriptorCache.getInstance().union(
   409                     classNameDescriptor,
   409                     classNameDescriptor,
   410                     mbeanDescriptor,
   410                     mbeanDescriptor,
   411                     annotatedDescriptor);
   411                     annotatedDescriptor);