|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
public class JBossNotificationBroadcasterSupport
A helper class for notification broadcasters/emitters
Constructor Summary | |
---|---|
JBossNotificationBroadcasterSupport()
Construct the new notification broadcaster support object |
Method Summary | |
---|---|
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
|
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
|
void |
handleNotification(javax.management.NotificationListener listener,
javax.management.Notification notification,
Object handback)
Handle the notification, the default implementation is to synchronously invoke the listener. |
long |
nextNotificationSequenceNumber()
The nextNotificationSequenceNumber method returns
the next sequence number for use in notifications. |
void |
removeNotificationListener(javax.management.NotificationListener listener)
|
void |
removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
Object handback)
|
void |
sendNotification(javax.management.Notification notification)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBossNotificationBroadcasterSupport()
Method Detail |
---|
public void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback)
addNotificationListener
in interface javax.management.NotificationBroadcaster
public void removeNotificationListener(javax.management.NotificationListener listener) throws javax.management.ListenerNotFoundException
removeNotificationListener
in interface javax.management.NotificationBroadcaster
javax.management.ListenerNotFoundException
public void removeNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, Object handback) throws javax.management.ListenerNotFoundException
removeNotificationListener
in interface javax.management.NotificationEmitter
javax.management.ListenerNotFoundException
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface javax.management.NotificationBroadcaster
public void sendNotification(javax.management.Notification notification)
public void handleNotification(javax.management.NotificationListener listener, javax.management.Notification notification, Object handback)
listener
- the listener to notifynotification
- the notificationhandback
- the handback objectpublic long nextNotificationSequenceNumber()
nextNotificationSequenceNumber
method returns
the next sequence number for use in notifications.
long
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |