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

Version:
$Revision: 1.2 $
Author:
Simone Bordet

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, NotificationListener listener, NotificationFilter filter, java.lang.Object handback)
           
 java.lang.String getType()
          The type of this interceptor
 void removeNotificationListener(MBeanMetaData metadata, NotificationListener listener, NotificationFilter filter, java.lang.Object handback)
           
 
Methods inherited from class mx4j.server.interceptor.DefaultMBeanServerInterceptor
getAttribute, getAttributes, getLogger, getMBeanInfo, getNext, instantiate, invoke, isEnabled, registration, setAttribute, setAttributes, setEnabled, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationListenerMBeanServerInterceptor

public NotificationListenerMBeanServerInterceptor()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: MBeanServerInterceptor
The type of this interceptor

addNotificationListener

public void addNotificationListener(MBeanMetaData metadata,
                                    NotificationListener listener,
                                    NotificationFilter filter,
                                    java.lang.Object handback)
Overrides:
addNotificationListener in class DefaultMBeanServerInterceptor

removeNotificationListener

public void removeNotificationListener(MBeanMetaData metadata,
                                       NotificationListener listener,
                                       NotificationFilter filter,
                                       java.lang.Object handback)
                                throws ListenerNotFoundException
Overrides:
removeNotificationListener in class DefaultMBeanServerInterceptor