1 22 package org.jboss.ha.jmx.examples; 23 24 import java.util.Collection ; 25 26 import javax.management.InstanceNotFoundException ; 27 import javax.management.MBeanException ; 28 import javax.management.ReflectionException ; 29 30 import org.jboss.system.ServiceMBean; 31 32 33 34 41 public interface HANotificationBroadcasterClientExampleMBean 42 extends ServiceMBean 43 { 44 47 public String getHANotificationBroadcasterName(); 48 49 55 public void setHANotificationBroadcasterName( String newBroadcasterName ); 56 57 62 public void sendTextMessageViaHANBExample(String message) 63 throws InstanceNotFoundException , MBeanException , ReflectionException ; 64 65 68 public Collection getReceivedNotifications(); 69 } 70 | Popular Tags |