01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: 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: /**
22: * @version $Revision: 1.6 $
23: */
24: public interface LocalConnection extends JMXConnection {
25: public void addNotificationListener(ObjectName observed,
26: NotificationListener listener, NotificationFilter filter,
27: Object handback, Subject delegate)
28: throws InstanceNotFoundException, IOException;
29:
30: public void removeNotificationListener(ObjectName observed,
31: NotificationListener listener, Subject delegate)
32: throws InstanceNotFoundException,
33: ListenerNotFoundException, IOException;
34:
35: public void removeNotificationListener(ObjectName observed,
36: NotificationListener listener, NotificationFilter filter,
37: Object handback, Subject delegate)
38: throws InstanceNotFoundException,
39: ListenerNotFoundException, IOException;
40: }
|