javax.management.j2ee

Interface ListenerRegistration

All Superinterfaces:
Serializable

public interface ListenerRegistration
extends Serializable

Method Summary

void
addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
void
removeNotificationListener(ObjectName name, NotificationListener listener)

Method Details

addNotificationListener

public void addNotificationListener(ObjectName name,
                                    NotificationListener listener,
                                    NotificationFilter filter,
                                    Object handback)
            throws InstanceNotFoundException,
                   RemoteException

removeNotificationListener

public void removeNotificationListener(ObjectName name,
                                       NotificationListener listener)
            throws InstanceNotFoundException,
                   ListenerNotFoundException,
                   RemoteException