1 8 9 package mx4j.tools.remote.local; 10 11 import java.io.IOException ; 12 import javax.management.InstanceNotFoundException ; 13 import javax.management.ListenerNotFoundException ; 14 import javax.management.NotificationFilter ; 15 import javax.management.NotificationListener ; 16 import javax.management.ObjectName ; 17 import javax.security.auth.Subject ; 18 19 import mx4j.tools.remote.JMXConnection; 20 21 24 public interface LocalConnection extends JMXConnection 25 { 26 public void addNotificationListener(ObjectName observed, NotificationListener listener, NotificationFilter filter, Object handback, Subject delegate) 27 throws InstanceNotFoundException , IOException ; 28 29 public void removeNotificationListener(ObjectName observed, NotificationListener listener, Subject delegate) 30 throws InstanceNotFoundException , ListenerNotFoundException , IOException ; 31 32 public void removeNotificationListener(ObjectName observed, NotificationListener listener, NotificationFilter filter, Object handback, Subject delegate) 33 throws InstanceNotFoundException , ListenerNotFoundException , IOException ; 34 } 35 | Popular Tags |