1 8 9 package mx4j.log; 10 11 import javax.management.ListenerNotFoundException ; 12 import javax.management.NotificationFilter ; 13 import javax.management.NotificationListener ; 14 15 21 public interface LoggerBroadcasterMBean 22 { 23 public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback); 24 25 public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException ; 26 27 public void start(); 28 29 public void start(String category); 30 31 public void stop(); 32 33 public void stop(String category); 34 } 35 | Popular Tags |