[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Thu Feb 8 16:59:58 UTC 2007
gordonp
Thu Feb 8 11:59:58 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/service
In directory dev.open-bio.org:/tmp/cvs-serv27169/main/org/biomoby/service
Modified Files:
Asynchronous.java MobyServlet.java mobyService.java
Log Message:
Documentation updates
moby-live/Java/src/main/org/biomoby/service Asynchronous.java,1.1,1.2 MobyServlet.java,1.4,1.5 mobyService.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/Asynchronous.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/Asynchronous.java 2006/12/06 16:07:10 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/Asynchronous.java 2007/02/08 16:59:58 1.2
@@ -1,3 +1,5 @@
+package org.biomoby.service;
+
/**
* This interface is used by MobyServlet to determine if the processRequest()
* method should be spawned in a separate thread. Any subclass of MobyServlet
@@ -5,6 +7,4 @@
* the maximum number of threads allowed is the number of processors on the machine.
*/
-package org.biomoby.service;
-
public interface Asynchronous{}
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/MobyServlet.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/MobyServlet.java 2006/12/07 16:37:36 1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/MobyServlet.java 2007/02/08 16:59:58 1.5
@@ -1,12 +1,5 @@
-package org.biomoby.service;
-
-/**
- * This the base implementation of a MOBY servlet that can be
- * easily extended to provide a meaningful service (by overriding
- * processRequest()). Please see
- * the documentation on <a href="http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/deployingServices.html">how to use this servlet</a>.
- */
+package org.biomoby.service;
import org.biomoby.service.test.TestServletConfig;
import org.biomoby.service.test.TestServletContext;
@@ -33,6 +26,13 @@
import java.util.Vector;
import java.math.*;
+/**
+ * This the base implementation of a MOBY servlet that can be
+ * easily extended to provide a meaningful service (by overriding
+ * processRequest()). Please see
+ * the documentation on <a href="http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/deployingServices.html">how to use this servlet</a>.
+ */
+
@mobyService(name="MobyServlet",
type="Testing",
provider="moby.ucalgary.ca",
@@ -1112,7 +1112,7 @@
* To add any other type of non-fatal error (e.g. a WARN), call addException() explicitly,
* rather than throwing a Java Exception which stops the job's execution.
*
- * @param request the request to process, with params guaranteed to be of the type specified in WEB-INF/web.xml
+ * @param request the request to process, with params guaranteed to be of the type specified in the mobyService annotation, or values overriding the annjotation in a WAR file's WEB-INF/web.xml
*/
public void processRequest(MobyDataJob request, MobyDataJob result) throws Exception{
}
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/mobyService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/mobyService.java 2006/12/04 22:33:50 1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/service/mobyService.java 2007/02/08 16:59:58 1.2
@@ -1,13 +1,14 @@
package org.biomoby.service;
+import java.lang.annotation.*;
+
/**
* Indicates that the annotated class is a MOBY Semantic Web Service,
* and provides the information that will populate the MOBY Central
- * registry for this service instance.
+ * registry for this service instance. For information on how to use this
+ * interface, please see <a href="http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/deployingServices.html">the MobyServlet HOW-TO</a>.
*/
-import java.lang.annotation.*;
-
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
More information about the MOBY-guts
mailing list