KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > web > loadbalancer > monitor > SimpleMonitorService


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.monitor;
8
9 import org.apache.commons.httpclient.HttpMethod;
10
11 /**
12  * A monitor service that does no further content checking.
13  * @jmx:mbean name="jboss.web.loadbalancer: service=SimpleMonitor"
14  * extends="org.jboss.web.loadbalancer.monitor.AbstractMonitorMBean"
15  * @author Thomas Peuss <jboss@peuss.de>
16  * @version $Revision: 1.2 $
17  */

18 public class SimpleMonitorService extends AbstractMonitor implements SimpleMonitorServiceMBean
19 {
20   protected boolean checkHostStatus(HttpMethod method)
21   {
22     // do no further checking
23
return true;
24   }
25 }
Popular Tags