org.objectweb.jonas.management.j2eemanagement
Class ManagementMBeanFilter

java.lang.Object
  extended by org.objectweb.jonas.management.j2eemanagement.ManagementMBeanFilter
All Implemented Interfaces:
java.io.Serializable, javax.management.NotificationFilter

public class ManagementMBeanFilter
extends java.lang.Object
implements javax.management.NotificationFilter

Author:
Adriana Danes NotificationFilter that accepts only management notifications
See Also:
Serialized Form

Constructor Summary
ManagementMBeanFilter()
           
 
Method Summary
 boolean isNotificationEnabled(javax.management.Notification notif)
          Returns true if the notification is a REGISTRATION or UNREGISTRETION JOnAS management MBean notification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagementMBeanFilter

public ManagementMBeanFilter()
Method Detail

isNotificationEnabled

public boolean isNotificationEnabled(javax.management.Notification notif)
Returns true if the notification is a REGISTRATION or UNREGISTRETION JOnAS management MBean notification

Specified by:
isNotificationEnabled in interface javax.management.NotificationFilter
Parameters:
notif - notification to filter
Returns:
true if this is a discovery notification, false otherwise