|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.notification.DefaultListenerRegistration org.jboss.mx.notification.MBeanServerListenerRegistration
The notification listener registration for a listener in the mbeanserver. The listener is proxied so we can replace the source of the notification with the object name.
We also handle the registration with the broadcaster.
ListenerRegistry
,
ListenerRegistrationFactory
Constructor Summary | |
MBeanServerListenerRegistration(ObjectName name,
NotificationBroadcaster broadcaster,
NotificationListener listener,
NotificationFilter filter,
Object handback)
Create a listener registration |
Method Summary | |
NotificationFilter |
getFilter()
Retrieve the filter for this registration. |
NotificationListener |
getListener()
Retrieve the listener for this registration. |
void |
removed()
Used to tell the registration it is no longer required. |
Methods inherited from class org.jboss.mx.notification.DefaultListenerRegistration |
equals, getHandback, getRegisteredFilter, getRegisteredListener, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MBeanServerListenerRegistration(ObjectName name, NotificationBroadcaster broadcaster, NotificationListener listener, NotificationFilter filter, Object handback)
name
- the object name to use as the notifiation sourcebroadcaster
- the notification broadcasterlistener
- the notification listenerfilter
- the notification filterhandback
- the handback object aMethod Detail |
public NotificationListener getListener()
ListenerRegistration
getListener
in interface ListenerRegistration
getListener
in class DefaultListenerRegistration
public NotificationFilter getFilter()
ListenerRegistration
getFilter
in interface ListenerRegistration
getFilter
in class DefaultListenerRegistration
public void removed()
ListenerRegistration
removed
in interface ListenerRegistration
removed
in class DefaultListenerRegistration
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |