Lines Matching defs:listener
33 * allows a listener to be registered with the MBean as a notification
34 * listener.</p>
38 * <p>When an MBean emits a notification, it considers each listener that has been
41 * If a filter was provided with that listener, and if the filter's
43 * false, the listener is ignored. Otherwise, the listener's
48 * <p>If the same listener is added more than once, it is considered as many times as it was
49 * added. It is often useful to add the same listener with different filters or handback
55 * <p>If the method call of a filter or listener throws an {@link Exception}, then that
67 * listener. To deal with the possibility that the list of listeners might
76 * Adds a listener to this MBean.
78 * @param listener The listener object which will handle the
83 * listener when a notification is emitted. This object cannot be
85 * resent unchanged with the notification to the listener.
91 public void addNotificationListener(NotificationListener listener,
97 * Removes a listener from this MBean. If the listener
99 * notification filters, all entries corresponding to the listener
102 * @param listener A listener that was previously added to this
105 * @exception ListenerNotFoundException The listener is not
111 public void removeNotificationListener(NotificationListener listener)