public interface NotificationEmitter extends NotificationBroadcaster
Modifier and Type | Method and Description |
---|---|
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object passback)
Removes the specified listener from the list of recipients
of notifications from this bean.
|
addNotificationListener, getNotificationInfo, removeNotificationListener
void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object passback) throws ListenerNotFoundException
null
is used as a valid value for these parameters,
rather than as a way to remove all registration instances for
the specified listener; for this behaviour instead, see the details
of the same method in NotificationBroadcaster
.listener
- the listener to remove.filter
- the filter of the listener to remove.passback
- the passback object of the listener to remove.ListenerNotFoundException
- if the specified listener
is not registered with this bean.NotificationBroadcaster.addNotificationListener(NotificationListener, NotificationFilter,
java.lang.Object)