FileDocCategorySizeDatePackage
NotificationEmitter.javaAPI DocJava SE 5 API1691Fri Aug 26 14:57:34 BST 2005javax.management

NotificationEmitter

public interface NotificationEmitter implements NotificationBroadcaster

Interface implemented by an MBean that emits Notifications. It allows a listener to be registered with the MBean as a notification listener.

This interface should be used by new code in preference to the {@link NotificationBroadcaster} interface.

since
1.5
since.unbundled
JMX 1.2

Fields Summary
Constructors Summary
Methods Summary
public voidremoveNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)

Removes a listener from this MBean. The MBean must have a listener that exactly matches the given listener, filter, and handback parameters. If there is more than one such listener, only one is removed.

The filter and handback parameters may be null if and only if they are null in a listener to be removed.

param
listener A listener that was previously added to this MBean.
param
filter The filter that was specified when the listener was added.
param
handback The handback that was specified when the listener was added.
exception
ListenerNotFoundException The listener is not registered with the MBean, or it is not registered with the given filter and handback.