Home » openjdk-7 » javax » management » j2ee » [javadoc | source]
public interface: ListenerRegistration [javadoc | source]

All Implemented Interfaces:

ListenerRegistration defines the methods which clients of the MEJB use to add and remove event listeners.
Method from javax.management.j2ee.ListenerRegistration Summary:
addNotificationListener,   removeNotificationListener
Method from javax.management.j2ee.ListenerRegistration Detail:
 public  void addNotificationListener(ObjectName name,
    NotificationListener listener,
    NotificationFilter filter,
    Object handback) throws InstanceNotFoundException, RemoteException
    Add a listener to a registered managed object.
 public  void removeNotificationListener(ObjectName name,
    NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException, RemoteException
    Remove a listener from a registered managed object.