org.jboss.mx.notification
Interface ListenerRegistration

All Known Implementing Classes:
DefaultListenerRegistration

public interface ListenerRegistration

A notification listener registration.

Version:
$Revision: 1.2 $
Author:
Adrian Brock.
See Also:
ListenerRegistry, ListenerRegistrationFactory

Method Summary
 javax.management.NotificationFilter getFilter()
          Retrieve the filter for this registration.
 Object getHandback()
          Retrieve the handback object for this registration.
 javax.management.NotificationListener getListener()
          Retrieve the listener for this registration.
 javax.management.NotificationFilter getRegisteredFilter()
          Retrieve the filter that was registered.
 javax.management.NotificationListener getRegisteredListener()
          Retrieve the listener that was registered.
 void removed()
          Used to tell the registration it is no longer required.
 

Method Detail

getListener

javax.management.NotificationListener getListener()
Retrieve the listener for this registration.

Returns:
the listener

getFilter

javax.management.NotificationFilter getFilter()
Retrieve the filter for this registration.

Returns:
the listener

getHandback

Object getHandback()
Retrieve the handback object for this registration.

Returns:
the handback object

getRegisteredListener

javax.management.NotificationListener getRegisteredListener()
Retrieve the listener that was registered. This might be different from listener to use, e.g. the registration factory may generate a proxy.

Returns:
the listener

getRegisteredFilter

javax.management.NotificationFilter getRegisteredFilter()
Retrieve the filter that was registered. This might be different from filter to use, e.g. the registration factory may generate a proxy.

Returns:
the filter

removed

void removed()
Used to tell the registration it is no longer required.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.