KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > tools > remote > local > LocalConnection


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.tools.remote.local;
10
11 import java.io.IOException JavaDoc;
12 import javax.management.InstanceNotFoundException JavaDoc;
13 import javax.management.ListenerNotFoundException JavaDoc;
14 import javax.management.NotificationFilter JavaDoc;
15 import javax.management.NotificationListener JavaDoc;
16 import javax.management.ObjectName JavaDoc;
17 import javax.security.auth.Subject JavaDoc;
18
19 import mx4j.tools.remote.JMXConnection;
20
21 /**
22  * @version $Revision: 1.6 $
23  */

24 public interface LocalConnection extends JMXConnection
25 {
26    public void addNotificationListener(ObjectName JavaDoc observed, NotificationListener JavaDoc listener, NotificationFilter JavaDoc filter, Object JavaDoc handback, Subject JavaDoc delegate)
27            throws InstanceNotFoundException JavaDoc, IOException JavaDoc;
28
29    public void removeNotificationListener(ObjectName JavaDoc observed, NotificationListener JavaDoc listener, Subject JavaDoc delegate)
30            throws InstanceNotFoundException JavaDoc, ListenerNotFoundException JavaDoc, IOException JavaDoc;
31
32    public void removeNotificationListener(ObjectName JavaDoc observed, NotificationListener JavaDoc listener, NotificationFilter JavaDoc filter, Object JavaDoc handback, Subject JavaDoc delegate)
33            throws InstanceNotFoundException JavaDoc, ListenerNotFoundException JavaDoc, IOException JavaDoc;
34 }
35
Popular Tags