|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object compbio.ws.server.RegistryWS
public class RegistryWS
JABAWS services registry
Field Summary |
---|
Fields inherited from interface compbio.data.msa.JABAService |
---|
SERVICE_NAMESPACE, V2_SERVICE_NAMESPACE |
Constructor Summary | |
---|---|
RegistryWS()
|
Method Summary | |
---|---|
int |
getLastTested(Services service)
Number of seconds since the last test. |
Date |
getLastTestedOn(Services service)
Can potentially return null if the service has not been tested yet. |
Set<Services> |
getSupportedServices()
List of services that are functioning on the server. |
boolean |
isOperating(Services service)
Check whether a particular web service is working on this server |
String |
testAllServices()
TODO improve reporting. |
String |
testService(Services service)
Test a particular service |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryWS()
Method Detail |
---|
public Set<Services> getSupportedServices()
RegistryWS
RegistryWS.testAllServices()
or RegistryWS.testService(Services)
methods. The
time of last check can be obtained from
RegistryWS.getLastTestedOn(Services)
method
getSupportedServices
in interface RegistryWS
RegistryWS.testAllServices()
public int getLastTested(Services service)
RegistryWS
getLastTested
in interface RegistryWS
public Date getLastTestedOn(Services service)
getLastTestedOn
in interface RegistryWS
public String testAllServices()
testAllServices
in interface RegistryWS
public String testService(Services service)
RegistryWS
testService
in interface RegistryWS
public boolean isOperating(Services service)
RegistryWS
isOperating
in interface RegistryWS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |