jdk/src/share/classes/com/sun/jmx/mbeanserver/MBeanInjector.java
changeset 1697 98a530cd0594
parent 1247 b4c26443dee5
equal deleted inserted replaced
1696:aef312419918 1697:98a530cd0594
    45 import java.util.Collections;
    45 import java.util.Collections;
    46 import java.util.List;
    46 import java.util.List;
    47 import javax.management.SendNotification;
    47 import javax.management.SendNotification;
    48 
    48 
    49 public class MBeanInjector {
    49 public class MBeanInjector {
       
    50     // There are no instances of this class
       
    51     private MBeanInjector() {
       
    52     }
       
    53 
    50     private static Class<?>[] injectedClasses = {
    54     private static Class<?>[] injectedClasses = {
    51         MBeanServer.class, ObjectName.class, SendNotification.class,
    55         MBeanServer.class, ObjectName.class, SendNotification.class,
    52     };
    56     };
    53 
    57 
    54     public static void inject(Object mbean, MBeanServer mbs, ObjectName name)
    58     public static void inject(Object mbean, MBeanServer mbs, ObjectName name)