Package com.tangosol.net.management
Class AnnotatedStandardEmitterMBean.SilentEmitter
- java.lang.Object
-
- com.tangosol.net.management.AnnotatedStandardEmitterMBean.SilentEmitter
-
- All Implemented Interfaces:
NotificationBroadcaster
,NotificationEmitter
- Enclosing class:
- AnnotatedStandardEmitterMBean
protected static class AnnotatedStandardEmitterMBean.SilentEmitter extends Object implements NotificationEmitter
A silentNotificationEmitter
implementation for all NotificationEmitter methods exceptgetNotificationInfo()
.
-
-
Field Summary
Fields Modifier and Type Field Description protected Class
f_clzMBean
The MBean interface class this emitter provides notification info for.
-
Constructor Summary
Constructors Constructor Description SilentEmitter(Class clzMBean)
Construct a SilentEmitter.
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Field Detail
-
f_clzMBean
protected final Class f_clzMBean
The MBean interface class this emitter provides notification info for.
-
-
Constructor Detail
-
SilentEmitter
public SilentEmitter(Class clzMBean)
Construct a SilentEmitter.- Parameters:
clzMBean
- the MBean class
-
-
Method Detail
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
- Specified by:
removeNotificationListener
in interfaceNotificationEmitter
- Throws:
ListenerNotFoundException
-
addNotificationListener
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
- Specified by:
addNotificationListener
in interfaceNotificationBroadcaster
- Throws:
IllegalArgumentException
-
removeNotificationListener
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
- Specified by:
removeNotificationListener
in interfaceNotificationBroadcaster
- Throws:
ListenerNotFoundException
-
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interfaceNotificationBroadcaster
-
-