public class StandardEmitterMBean extends StandardMBean implements NotificationEmitter
| Constructor and Description |
|---|
StandardEmitterMBean(Class mbeanInterface) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
MBeanInfo |
getMBeanInfo() |
MBeanNotificationInfo[] |
getNotificationInfo() |
void |
removeNotificationListener(NotificationListener listener) |
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
void |
sendNotification(Notification notification) |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic StandardEmitterMBean(Class mbeanInterface) throws NotCompliantMBeanException
NotCompliantMBeanExceptionpublic void sendNotification(Notification notification)
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
removeNotificationListener in interface NotificationEmitterListenerNotFoundExceptionpublic void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
addNotificationListener in interface NotificationBroadcasterIllegalArgumentExceptionpublic void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener in interface NotificationBroadcasterListenerNotFoundExceptionpublic MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcasterpublic MBeanInfo getMBeanInfo()
getMBeanInfo in interface DynamicMBeangetMBeanInfo in class StandardMBeanCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.