X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=webservices%2Fcompbio%2Fws%2Fserver%2FRegistryWS.java;h=3898b884ff4c0aafebf46091dba76faba3f3a945;hb=140e024c6b00451dd933a9c25feac2d170d5f9f6;hp=ae56e5b49b92d2855a1e3d030c675c0fed499e69;hpb=45154567757138fa61f345bee3429246a98f1969;p=jabaws.git diff --git a/webservices/compbio/ws/server/RegistryWS.java b/webservices/compbio/ws/server/RegistryWS.java index ae56e5b..3898b88 100644 --- a/webservices/compbio/ws/server/RegistryWS.java +++ b/webservices/compbio/ws/server/RegistryWS.java @@ -1,3 +1,20 @@ +/* Copyright (c) 2011 Peter Troshin + * + * JAva Bioinformatics Analysis Web Services (JABAWS) @version: 2.0 + * + * This library is free software; you can redistribute it and/or modify it under the terms of the + * Apache License version 2 as published by the Apache Software Foundation + * + * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without + * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache + * License for more details. + * + * A copy of the license is in apache_license.txt. It is also available here: + * @see: http://www.apache.org/licenses/LICENSE-2.0.txt + * + * Any republication or derived work distributed in source code form + * must include this copyright and license notice. + */ package compbio.ws.server; import java.io.PrintWriter; @@ -180,4 +197,14 @@ public class RegistryWS implements compbio.data.msa.RegistryWS, JABAService { return operating.containsKey(service); } + @Override + public String getServiceDescription(Services service) { + return service.getServiceInfo(); + } + + @Override + public Set getServiceCategories() { + return Category.getCategories(); + } + }