org.jacorb.notification.jmx
Class BroadcastSupportMBeanDecorator

java.lang.Object
  extended by org.jacorb.notification.jmx.BroadcastSupportMBeanDecorator
All Implemented Interfaces:
DynamicMBean, NotificationBroadcaster, NotificationEmitter

public class BroadcastSupportMBeanDecorator
extends Object
implements DynamicMBean, NotificationEmitter


Constructor Summary
BroadcastSupportMBeanDecorator(JMXManageable manageable)
           
 
Method Summary
 void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
           
 Object getAttribute(String attribute)
           
 AttributeList getAttributes(String[] attributes)
           
 MBeanInfo getMBeanInfo()
           
 MBeanNotificationInfo[] getNotificationInfo()
           
 Object invoke(String method, Object[] arguments, String[] params)
           
 void removeNotificationListener(NotificationListener listener)
           
 void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)
           
 void sendAttributeChanged(String name, Object oldValue, Object newValue)
           
 void sendNotification(String type, String message)
           
 void sendNotification(String type, String message, Object payload)
           
 void setAttribute(Attribute attribute)
           
 AttributeList setAttributes(AttributeList attributes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcastSupportMBeanDecorator

public BroadcastSupportMBeanDecorator(JMXManageable manageable)
                               throws NotCompliantMBeanException,
                                      ClassNotFoundException
Throws:
NotCompliantMBeanException
ClassNotFoundException
Method Detail

getAttribute

public Object getAttribute(String attribute)
                    throws AttributeNotFoundException,
                           MBeanException,
                           ReflectionException
Specified by:
getAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

getAttributes

public AttributeList getAttributes(String[] attributes)
Specified by:
getAttributes in interface DynamicMBean

getMBeanInfo

public MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface DynamicMBean

invoke

public Object invoke(String method,
                     Object[] arguments,
                     String[] params)
              throws MBeanException,
                     ReflectionException
Specified by:
invoke in interface DynamicMBean
Throws:
MBeanException
ReflectionException

setAttribute

public void setAttribute(Attribute attribute)
                  throws AttributeNotFoundException,
                         InvalidAttributeValueException,
                         MBeanException,
                         ReflectionException
Specified by:
setAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

setAttributes

public AttributeList setAttributes(AttributeList attributes)
Specified by:
setAttributes in interface DynamicMBean

addNotificationListener

public void addNotificationListener(NotificationListener listener,
                                    NotificationFilter filter,
                                    Object handback)
                             throws IllegalArgumentException
Specified by:
addNotificationListener in interface NotificationBroadcaster
Throws:
IllegalArgumentException

removeNotificationListener

public void removeNotificationListener(NotificationListener listener)
                                throws ListenerNotFoundException
Specified by:
removeNotificationListener in interface NotificationBroadcaster
Throws:
ListenerNotFoundException

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()
Specified by:
getNotificationInfo in interface NotificationBroadcaster

sendNotification

public void sendNotification(String type,
                             String message,
                             Object payload)

sendNotification

public void sendNotification(String type,
                             String message)

removeNotificationListener

public void removeNotificationListener(NotificationListener listener,
                                       NotificationFilter filter,
                                       Object handback)
                                throws ListenerNotFoundException
Specified by:
removeNotificationListener in interface NotificationEmitter
Throws:
ListenerNotFoundException

sendAttributeChanged

public void sendAttributeChanged(String name,
                                 Object oldValue,
                                 Object newValue)


Copyright © 2015 JacORB. All rights reserved.