public class NotificationListenerMBeanServerInterceptor extends DefaultMBeanServerInterceptor
POST_DEREGISTER, POST_REGISTER_FALSE, POST_REGISTER_TRUE, PRE_DEREGISTER, PRE_REGISTER| Constructor and Description |
|---|
NotificationListenerMBeanServerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationListener(MBeanMetaData metadata,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
Adds the given notification listener to the MBean, along with the given filter and handback
|
java.lang.String |
getType()
Returns the type of this interceptor
|
void |
removeNotificationListener(MBeanMetaData metadata,
javax.management.NotificationListener listener)
Removes the given notification listener from the MBean.
|
void |
removeNotificationListener(MBeanMetaData metadata,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
Removes the given notification listener from the MBean, specified by the given filter and handback.
|
getAttribute, getAttributes, getLogger, getMBeanInfo, getNext, instantiate, invoke, isEnabled, registration, setAttribute, setAttributes, setChain, setEnabledpublic NotificationListenerMBeanServerInterceptor()
public java.lang.String getType()
DefaultMBeanServerInterceptorgetType in interface DefaultMBeanServerInterceptorMBeangetType in interface MBeanServerInterceptorgetType in class DefaultMBeanServerInterceptorpublic void addNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
MBeanServerInterceptoraddNotificationListener in interface MBeanServerInterceptoraddNotificationListener in class DefaultMBeanServerInterceptorpublic void removeNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener) throws javax.management.ListenerNotFoundException
MBeanServerInterceptorremoveNotificationListener in interface MBeanServerInterceptorremoveNotificationListener in class DefaultMBeanServerInterceptorjavax.management.ListenerNotFoundExceptionpublic void removeNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws javax.management.ListenerNotFoundException
MBeanServerInterceptorremoveNotificationListener in interface MBeanServerInterceptorremoveNotificationListener in class DefaultMBeanServerInterceptorjavax.management.ListenerNotFoundException