mx4j.server.interceptor
Class NotificationListenerMBeanServerInterceptor
java.lang.Object
|
+--mx4j.server.interceptor.DefaultMBeanServerInterceptor
|
+--mx4j.server.interceptor.NotificationListenerMBeanServerInterceptor
- All Implemented Interfaces:
- DefaultMBeanServerInterceptorMBean, MBeanServerInterceptor
- public class NotificationListenerMBeanServerInterceptor
- extends DefaultMBeanServerInterceptor
Interceptor that takes care of replacing the source of Notifications to the
ObjectName of the NotificationBroadcaster that emitted it.
- Version:
- $Revision: 1.4 $
- Author:
- Simone Bordet
Methods inherited from class mx4j.server.interceptor.DefaultMBeanServerInterceptor |
getAttribute, getAttributes, getLogger, getMBeanInfo, getNext, instantiate, invoke, isEnabled, registration, setAttribute, setAttributes, setChain, setEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationListenerMBeanServerInterceptor
public NotificationListenerMBeanServerInterceptor()
getType
public java.lang.String getType()
- Description copied from class:
DefaultMBeanServerInterceptor
- Returns the type of this interceptor
- Specified by:
getType
in interface MBeanServerInterceptor
- Specified by:
getType
in class DefaultMBeanServerInterceptor
addNotificationListener
public void addNotificationListener(MBeanMetaData metadata,
NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
- Specified by:
addNotificationListener
in interface MBeanServerInterceptor
- Overrides:
addNotificationListener
in class DefaultMBeanServerInterceptor
removeNotificationListener
public void removeNotificationListener(MBeanMetaData metadata,
NotificationListener listener,
NotificationFilter filter,
java.lang.Object handback)
throws ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface MBeanServerInterceptor
- Overrides:
removeNotificationListener
in class DefaultMBeanServerInterceptor
ListenerNotFoundException
Copyright © 2001-2002 MX4J Team. All Rights Reserved.