javax.management.modelmbean
Interface ModelMBeanNotificationBroadcaster

All Superinterfaces:
NotificationBroadcaster
All Known Subinterfaces:
ModelMBean
All Known Implementing Classes:
ModelMBeanInvoker, RequiredModelMBean, XMBean

public interface ModelMBeanNotificationBroadcaster
extends NotificationBroadcaster


Method Summary
 void addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback)
           
 void removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName)
           
 void sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal)
           
 void sendAttributeChangeNotification(AttributeChangeNotification ntfyObj)
           
 void sendNotification(Notification ntfyObj)
           
 void sendNotification(String ntfyText)
           
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

sendNotification

void sendNotification(Notification ntfyObj)
                      throws MBeanException,
                             RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

sendNotification

void sendNotification(String ntfyText)
                      throws MBeanException,
                             RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

sendAttributeChangeNotification

void sendAttributeChangeNotification(AttributeChangeNotification ntfyObj)
                                     throws MBeanException,
                                            RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

sendAttributeChangeNotification

void sendAttributeChangeNotification(Attribute inOldVal,
                                     Attribute inNewVal)
                                     throws MBeanException,
                                            RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

addAttributeChangeNotificationListener

void addAttributeChangeNotificationListener(NotificationListener inlistener,
                                            String inAttributeName,
                                            Object inhandback)
                                            throws MBeanException,
                                                   RuntimeOperationsException,
                                                   IllegalArgumentException
Throws:
MBeanException
RuntimeOperationsException
IllegalArgumentException

removeAttributeChangeNotificationListener

void removeAttributeChangeNotificationListener(NotificationListener inlistener,
                                               String inAttributeName)
                                               throws MBeanException,
                                                      RuntimeOperationsException,
                                                      ListenerNotFoundException
Throws:
MBeanException
RuntimeOperationsException
ListenerNotFoundException


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