|
JBossMX Parent POM 6.0.0.GA | |||||||||
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(NotificationListener listener,
NotificationFilter filter,
Object handback)
|
MBeanNotificationInfo[] |
getNotificationInfo()
|
void |
handleNotification(NotificationListener listener,
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(NotificationListener listener)
|
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
|
void |
sendNotification(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(NotificationListener listener, NotificationFilter filter, Object handback)
addNotificationListener
in interface NotificationBroadcaster
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationBroadcaster
ListenerNotFoundException
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationEmitter
ListenerNotFoundException
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
public void sendNotification(Notification notification)
public void handleNotification(NotificationListener listener, 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
|
JBossMX Parent POM 6.0.0.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |