javax.management.modelmbean
Interface ModelMBeanNotificationBroadcaster

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

public interface ModelMBeanNotificationBroadcaster
extends NotificationBroadcaster

Version:
$Revision: 1.3 $
Author:
Simone Bordet

Method Summary
 void addAttributeChangeNotificationListener(NotificationListener listener, java.lang.String attributeName, java.lang.Object handback)
           
 void removeAttributeChangeNotificationListener(NotificationListener listener, java.lang.String attributeName)
           
 void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue)
           
 void sendAttributeChangeNotification(AttributeChangeNotification notification)
           
 void sendNotification(Notification notification)
           
 void sendNotification(java.lang.String message)
           
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

sendNotification

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

sendNotification

public void sendNotification(java.lang.String message)
                      throws MBeanException,
                             RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException

addAttributeChangeNotificationListener

public void addAttributeChangeNotificationListener(NotificationListener listener,
                                                   java.lang.String attributeName,
                                                   java.lang.Object handback)
                                            throws MBeanException,
                                                   RuntimeOperationsException,
                                                   java.lang.IllegalArgumentException
Throws:
MBeanException
RuntimeOperationsException
java.lang.IllegalArgumentException

removeAttributeChangeNotificationListener

public void removeAttributeChangeNotificationListener(NotificationListener listener,
                                                      java.lang.String attributeName)
                                               throws MBeanException,
                                                      RuntimeOperationsException,
                                                      ListenerNotFoundException
Throws:
MBeanException
RuntimeOperationsException
ListenerNotFoundException

sendAttributeChangeNotification

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

sendAttributeChangeNotification

public void sendAttributeChangeNotification(Attribute oldValue,
                                            Attribute newValue)
                                     throws MBeanException,
                                            RuntimeOperationsException
Throws:
MBeanException
RuntimeOperationsException


Copyright © 2001-2002 MX4J Team. All Rights Reserved.