1 7 25 26 27 package javax.management.modelmbean; 28 29 import javax.management.*; 30 31 import javax.management.InstanceNotFoundException ; 32 33 58 59 public interface ModelMBeanNotificationBroadcaster extends NotificationBroadcaster 60 { 61 62 75 76 public void sendNotification(Notification ntfyObj) 77 throws MBeanException, RuntimeOperationsException; 78 79 96 public void sendNotification(String ntfyText) 97 throws MBeanException, RuntimeOperationsException; 98 99 111 public void sendAttributeChangeNotification(AttributeChangeNotification notification) 112 throws MBeanException, RuntimeOperationsException; 113 114 115 137 public void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) 138 throws MBeanException, RuntimeOperationsException; 139 140 141 158 public void addAttributeChangeNotificationListener(NotificationListener listener, 159 String attributeName, 160 Object handback) 161 throws MBeanException, RuntimeOperationsException, IllegalArgumentException ; 162 163 164 179 180 public void removeAttributeChangeNotificationListener(NotificationListener listener, 181 String attributeName) 182 throws MBeanException, RuntimeOperationsException, ListenerNotFoundException; 183 184 } 185 | Popular Tags |