KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > web > loadbalancer > scheduler > HostStateChangedNotification


1 /*
2  * JBoss, the OpenSource WebOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.web.loadbalancer.scheduler;
8
9 import javax.management.Notification JavaDoc;
10
11 /**
12  * A JMX-Notification that informs listeners about the fact that
13  * the state of a node changed.
14  * @author Thomas Peuss <jboss@peuss.de>
15  * @version $Revision: 1.1 $
16  */

17 public class HostStateChangedNotification extends Notification JavaDoc
18 {
19   private static long sequenceId=0L;
20
21   public HostStateChangedNotification(Host source, String JavaDoc message)
22   {
23     super(HostStateChangedNotification.class.getName(), source, sequenceId++, message);
24   }
25 }
Popular Tags