KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jmx > remote > internal > NotificationBufferFilter


1 /*
2  * @(#)NotificationBufferFilter.java 1.1 06/02/20
3  *
4  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.jmx.remote.internal;
9
10 import java.util.List JavaDoc;
11 import javax.management.Notification JavaDoc;
12 import javax.management.ObjectName JavaDoc;
13 import javax.management.remote.TargetedNotification JavaDoc;
14
15 public interface NotificationBufferFilter {
16     /**
17      * Add the given notification coming from the given MBean to the list
18      * iff it matches this filter's rules.
19      */

20     public void apply(List JavaDoc<TargetedNotification JavaDoc> targetedNotifs,
21             ObjectName JavaDoc source, Notification JavaDoc notif);
22 }
23
Popular Tags