Java examples for javax.management:MBean
get MBean Notification Info
//package com.java2s; import javax.management.AttributeChangeNotification; import javax.management.MBeanNotificationInfo; public class Main { public static void main(String[] argv) throws Exception { System.out//from w w w .j av a 2s . co m .println(java.util.Arrays.toString(getNotificationInfo())); } public static MBeanNotificationInfo[] getNotificationInfo() { return new MBeanNotificationInfo[] { new MBeanNotificationInfo( new String[] { AttributeChangeNotification.ATTRIBUTE_CHANGE }, "javax.management.AttributeChangeNotification", "Attribute change notification") }; } }