1 /*------------------------------------------------------------------------------
 2 Name:      UserFilter.java
 3 Project:   xmlBlaster.org
 4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
 5 ------------------------------------------------------------------------------*/
 6 package org.xmlBlaster.client.jmx;
 7 
 8 import javax.management.NotificationFilter;
 9 import javax.management.Notification;
10 
11 /**
12  * Used for JMX-Notification Mechanism
13  * Can be used for Filterung Notifications
14  */
15 public class UserFilter implements NotificationFilter {
16   public boolean isNotificationEnabled(Notification n) {
17     return true;
18   }
19 
20 }


syntax highlighted by Code2HTML, v. 0.9.1