protected static class AnnotatedStandardEmitterMBean.SilentEmitter extends Object implements NotificationEmitter
NotificationEmitter
implementation for all NotificationEmitter
methods except getNotificationInfo()
.Modifier and Type | Field | Description |
---|---|---|
protected Class |
f_clzMBean |
The MBean interface class this emitter provides notification info
for.
|
Constructor | Description |
---|---|
SilentEmitter(Class clzMBean) |
Construct a SilentEmitter.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
|
MBeanNotificationInfo[] |
getNotificationInfo() |
|
void |
removeNotificationListener(NotificationListener listener) |
|
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback) |
protected final Class f_clzMBean
public SilentEmitter(Class clzMBean)
clzMBean
- the MBean classpublic void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationEmitter
ListenerNotFoundException
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
addNotificationListener
in interface NotificationBroadcaster
IllegalArgumentException
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationBroadcaster
ListenerNotFoundException
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster