Add an implementation for Services.getServiceInfo method and categorization for services.
[jabaws.git] / webservices / compbio / data / msa / RegistryWS.java
index faaea67..71a2519 100644 (file)
@@ -23,6 +23,7 @@ import java.util.Set;
 import javax.jws.WebService;\r
 \r
 import compbio.ws.client.Services;\r
+import compbio.ws.server.Category;\r
 \r
 /**\r
  * JABAWS services registry\r
@@ -80,4 +81,22 @@ public interface RegistryWS extends JABAService {
         */\r
        boolean isOperating(Services service);\r
 \r
+       /**\r
+        * Gives the description of the service.\r
+        * \r
+        * @param service\r
+        * @return String, plain text or html formatted piece, but NOT a full html\r
+        *         document\r
+        */\r
+       String getServiceDescription(Services service);\r
+\r
+       /**\r
+        * Gets the list of services per category. ServiceClassifier has the method\r
+        * that returns Map<Category, Set<Services>>\r
+        * \r
+        * @return ServiceClassifier the object to represent relation between\r
+        *         Services and Categories\r
+        */\r
+       Set<Category> getServiceCategories();\r
+\r
 }\r