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, setEnabled
public NotificationListenerMBeanServerInterceptor()
public java.lang.String getType()
DefaultMBeanServerInterceptor
getType
in interface DefaultMBeanServerInterceptorMBean
getType
in interface MBeanServerInterceptor
getType
in class DefaultMBeanServerInterceptor
public void addNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
MBeanServerInterceptor
addNotificationListener
in interface MBeanServerInterceptor
addNotificationListener
in class DefaultMBeanServerInterceptor
public void removeNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener) throws javax.management.ListenerNotFoundException
MBeanServerInterceptor
removeNotificationListener
in interface MBeanServerInterceptor
removeNotificationListener
in class DefaultMBeanServerInterceptor
javax.management.ListenerNotFoundException
public void removeNotificationListener(MBeanMetaData metadata, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws javax.management.ListenerNotFoundException
MBeanServerInterceptor
removeNotificationListener
in interface MBeanServerInterceptor
removeNotificationListener
in class DefaultMBeanServerInterceptor
javax.management.ListenerNotFoundException