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 javax.management;
10:
11: /**
12: * Interface implemented by an MBean that emits Notifications.
13: *
14: * @version $Revision: 1.4 $
15: * @see Notification
16: * @since JMX 1.2
17: */
18: public interface NotificationEmitter extends NotificationBroadcaster {
19: /**
20: * Removes a notification listener from this MBean.
21: * The MBean must have a registered listener that exactly matches the given listener, filter, and handback parameters.
22: *
23: * @param listener The listener that was previously added to this MBean.
24: * @param filter The filter that was specified when the listener was added.
25: * @param handback The handback that was specified when the listener was added.
26: * @throws ListenerNotFoundException If the triple listener, filter, handback is not registered with the emitter
27: */
28: public void removeNotificationListener(
29: NotificationListener listener, NotificationFilter filter,
30: Object handback) throws ListenerNotFoundException;
31: }
|