org.jacorb.notification.jmx
Class BroadcastSupportMBeanDecorator
java.lang.Object
org.jacorb.notification.jmx.BroadcastSupportMBeanDecorator
- All Implemented Interfaces:
- javax.management.DynamicMBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
public class BroadcastSupportMBeanDecorator
- extends java.lang.Object
- implements javax.management.DynamicMBean, javax.management.NotificationEmitter
Method Summary |
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
|
java.lang.Object |
getAttribute(java.lang.String attribute)
|
javax.management.AttributeList |
getAttributes(java.lang.String[] attributes)
|
javax.management.MBeanInfo |
getMBeanInfo()
|
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
|
java.lang.Object |
invoke(java.lang.String method,
java.lang.Object[] arguments,
java.lang.String[] params)
|
void |
removeNotificationListener(javax.management.NotificationListener listener)
|
void |
removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
|
void |
sendAttributeChanged(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
|
void |
sendNotification(java.lang.String type,
java.lang.String message)
|
void |
sendNotification(java.lang.String type,
java.lang.String message,
java.lang.Object payload)
|
void |
setAttribute(javax.management.Attribute attribute)
|
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BroadcastSupportMBeanDecorator
public BroadcastSupportMBeanDecorator(JMXManageable manageable)
throws javax.management.NotCompliantMBeanException,
java.lang.ClassNotFoundException
- Throws:
javax.management.NotCompliantMBeanException
java.lang.ClassNotFoundException
getAttribute
public java.lang.Object getAttribute(java.lang.String attribute)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
getAttribute
in interface javax.management.DynamicMBean
- Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
getAttributes
public javax.management.AttributeList getAttributes(java.lang.String[] attributes)
- Specified by:
getAttributes
in interface javax.management.DynamicMBean
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface javax.management.DynamicMBean
invoke
public java.lang.Object invoke(java.lang.String method,
java.lang.Object[] arguments,
java.lang.String[] params)
throws javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
invoke
in interface javax.management.DynamicMBean
- Throws:
javax.management.MBeanException
javax.management.ReflectionException
setAttribute
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
- Specified by:
setAttribute
in interface javax.management.DynamicMBean
- Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
setAttributes
public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
- Specified by:
setAttributes
in interface javax.management.DynamicMBean
addNotificationListener
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
- Specified by:
addNotificationListener
in interface javax.management.NotificationBroadcaster
- Throws:
java.lang.IllegalArgumentException
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationBroadcaster
- Throws:
javax.management.ListenerNotFoundException
getNotificationInfo
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster
sendNotification
public void sendNotification(java.lang.String type,
java.lang.String message,
java.lang.Object payload)
sendNotification
public void sendNotification(java.lang.String type,
java.lang.String message)
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationEmitter
- Throws:
javax.management.ListenerNotFoundException
sendAttributeChanged
public void sendAttributeChanged(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)