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
|
int |
getNotificationListenerWrapperReferenceCount(java.lang.Object wrapper) |
java.util.Map |
getNotificationListenerWrappers() |
java.util.Map |
getObjectNames() |
java.lang.String |
getType()
Returns the type of this interceptor
|
void |
registration(MBeanMetaData metadata,
int operation)
Calls the specified
MBeanRegistration method on the MBean instance. |
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, 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.ListenerNotFoundExceptionpublic void registration(MBeanMetaData metadata, int operation) throws javax.management.MBeanRegistrationException
MBeanServerInterceptorMBeanRegistration method on the MBean instance.registration in interface MBeanServerInterceptorregistration in class DefaultMBeanServerInterceptorjavax.management.MBeanRegistrationExceptionpublic java.util.Map getNotificationListenerWrappers()
public int getNotificationListenerWrapperReferenceCount(java.lang.Object wrapper)
public java.util.Map getObjectNames()