|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcompbio.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. |
java.util.Date |
getLastTestedOn(Services service)
Can potentially return null if the service has not been tested yet. |
java.util.Set<Category> |
getServiceCategories()
Gets the list of services per category. |
java.lang.String |
getServiceDescription(Services service)
Gives the description of the service. |
java.util.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 |
java.lang.String |
testAllServices()
TODO improve reporting. |
java.lang.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 java.util.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 java.util.Date getLastTestedOn(Services service)
getLastTestedOn
in interface RegistryWS
public java.lang.String testAllServices()
testAllServices
in interface RegistryWS
public java.lang.String testService(Services service)
RegistryWS
testService
in interface RegistryWS
public boolean isOperating(Services service)
RegistryWS
isOperating
in interface RegistryWS
public java.lang.String getServiceDescription(Services service)
RegistryWS
getServiceDescription
in interface RegistryWS
public java.util.Set<Category> getServiceCategories()
RegistryWS
getServiceCategories
in interface RegistryWS
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |