站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

ModelMBeanNotificationBroadcaster (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


javax.management.modelmbean
Interface ModelMBeanNotificationBroadcaster

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

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

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

sendNotification

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

sendAttributeChangeNotification

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

sendAttributeChangeNotification

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

addAttributeChangeNotificationListener

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

removeAttributeChangeNotificationListener

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


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