org.deltava.service
Class HealthCheckService

java.lang.Object
  extended by org.deltava.service.WebService
      extended by org.deltava.service.HealthCheckService

public class HealthCheckService
extends WebService

A Web Service to ensure the server JVM is still alive.

Since:
2.3
Version:
2.3
Author:
Luke

Constructor Summary
HealthCheckService()
           
 
Method Summary
 int execute(ServiceContext ctx)
          Executes the Web Service.
 boolean isLogged()
          Returns if the Web Service invocation is logged.
 
Methods inherited from class org.deltava.service.WebService
error, error, error, getCount, isSecure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HealthCheckService

public HealthCheckService()
Method Detail

execute

public int execute(ServiceContext ctx)
            throws ServiceException
Executes the Web Service.

Specified by:
execute in class WebService
Parameters:
ctx - the Web Service context
Returns:
the HTTP status code
Throws:
ServiceException - if an error occurs

isLogged

public boolean isLogged()
Returns if the Web Service invocation is logged.

Overrides:
isLogged in class WebService
Returns:
FALSE


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.