|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmx4j.server.interceptor.DefaultMBeanServerInterceptor
mx4j.server.interceptor.NotificationListenerMBeanServerInterceptor
public class NotificationListenerMBeanServerInterceptor
Interceptor that takes care of replacing the source of Notifications to the ObjectName of the NotificationBroadcaster that emitted it.
Field Summary |
---|
Fields inherited from interface mx4j.server.interceptor.MBeanServerInterceptor |
---|
POST_DEREGISTER, POST_REGISTER_FALSE, POST_REGISTER_TRUE, PRE_DEREGISTER, PRE_REGISTER |
Constructor Summary | |
---|---|
NotificationListenerMBeanServerInterceptor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class mx4j.server.interceptor.DefaultMBeanServerInterceptor |
---|
getAttribute, getAttributes, getLogger, getMBeanInfo, getNext, instantiate, invoke, isEnabled, setAttribute, setAttributes, setChain, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationListenerMBeanServerInterceptor()
Method Detail |
---|
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
public void registration(MBeanMetaData metadata, int operation) throws javax.management.MBeanRegistrationException
MBeanServerInterceptor
MBeanRegistration
method on the MBean instance.
registration
in interface MBeanServerInterceptor
registration
in class DefaultMBeanServerInterceptor
javax.management.MBeanRegistrationException
public java.util.Map getNotificationListenerWrappers()
public int getNotificationListenerWrapperReferenceCount(java.lang.Object wrapper)
public java.util.Map getObjectNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |