Class HealthCheckService
java.lang.Object
org.deltava.service.WebService
org.deltava.service.HealthCheckService
A Web Service to ensure the server JVM is still alive.
- Since:
- 2.3
- Version:
- 6.1
- Author:
- Luke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintexecute(ServiceContext ctx) Executes the Web Service.booleanisLogged()Returns if the Web Service invocation is logged.
-
Constructor Details
-
HealthCheckService
public HealthCheckService()
-
-
Method Details
-
execute
Executes the Web Service.- Specified by:
executein classWebService- 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:
isLoggedin classWebService- Returns:
- FALSE
-