equal
deleted
inserted
replaced
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) |