Adding Jronn WS to conf files
authorpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Wed, 2 Feb 2011 16:53:10 +0000 (16:53 +0000)
committerpvtroshin <pvtroshin@e3abac25-378b-4346-85de-24260fe3988d>
Wed, 2 Feb 2011 16:53:10 +0000 (16:53 +0000)
git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@3661 e3abac25-378b-4346-85de-24260fe3988d

WEB-INF/sun-jaxws.xml
WEB-INF/web.xml
webservices/compbio/ws/server/JronnWS.java

index 994abef..03228f8 100644 (file)
@@ -24,4 +24,8 @@
         name='AAConWS'\r
         implementation='compbio.ws.server.AAConWS'\r
         url-pattern='/AAConWS'/>\r
+    <endpoint\r
+        name='JronnWS'\r
+        implementation='compbio.ws.server.JronnWS'\r
+        url-pattern='/JronnWS'/>\r
 </endpoints>\r
index ae99a94..f73b59c 100644 (file)
         <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>\r
         <load-on-startup/>\r
     </servlet>\r
-    \r
+   \r
+     <servlet>\r
+        <servlet-name>JronnWS</servlet-name>\r
+        <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>\r
+        <load-on-startup/>\r
+    </servlet>\r
+     \r
     <servlet-mapping>\r
        <servlet-name>ClustalWS</servlet-name>\r
        <url-pattern>/ClustalWS</url-pattern>\r
        <url-pattern>/AAConWS</url-pattern>\r
    </servlet-mapping>\r
    \r
+    <servlet-mapping>\r
+       <servlet-name>JronnWS</servlet-name>\r
+       <url-pattern>/JronnWS</url-pattern>\r
+   </servlet-mapping>\r
+   \r
    <security-constraint>\r
     <web-resource-collection>\r
        <web-resource-name>Administrator pages</web-resource-name>\r
index bcb6af5..9f5be63 100644 (file)
@@ -68,12 +68,6 @@ public class JronnWS implements Annotation<Jronn> {
                log.trace(jobId + " getConservation : " + mas);\r
                return mas;\r
        }\r
-       /*\r
-        * @SuppressWarnings("unchecked") public JalviewAnnotation\r
-        * getJalviewAnnotation(String jobId) throws ResultNotAvailableException {\r
-        * MultiAnnotatedSequence<Method> result = getResult(jobId); // TODO //\r
-        * log(jobId, "getResults"); return result.toJalviewAnnotation(); }\r
-        */\r
 \r
        @Override\r
        public Limit<Jronn> getLimit(String presetName) {\r
@@ -136,9 +130,6 @@ public class JronnWS implements Annotation<Jronn> {
                ConfiguredExecutable<Jronn> confAAcon = init(sequences);\r
 \r
                // set default conservation method to fastest - SHENKIN\r
-               // TODO: This violates encapsulation, should be moved to the runners\r
-               // level.\r
-               // confAAcon.addParameters(Arrays.asList("-m=SHENKIN"));\r
                return analize(sequences, confAAcon, null, "analize", getLimit(""));\r
        }\r
 \r