[MOBY-guts] biomoby commit
Gary Schiltz
gss at pub.open-bio.org
Wed Sep 14 22:06:11 UTC 2005
gss
Wed Sep 14 18:06:11 EDT 2005
Update of /home/repository/moby/moby-live/S-MOBY/ref-impl/core/src/org/semanticmoby/servlet
In directory pub.open-bio.org:/tmp/cvs-serv17011/src/org/semanticmoby/servlet
Modified Files:
AbstractMobyServlet.java
Log Message:
Major API overhaul
moby-live/S-MOBY/ref-impl/core/src/org/semanticmoby/servlet AbstractMobyServlet.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/S-MOBY/ref-impl/core/src/org/semanticmoby/servlet/AbstractMobyServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/S-MOBY/ref-impl/core/src/org/semanticmoby/servlet/AbstractMobyServlet.java 2004/11/23 00:18:46 1.1
+++ /home/repository/moby/moby-live/S-MOBY/ref-impl/core/src/org/semanticmoby/servlet/AbstractMobyServlet.java 2005/09/14 22:06:11 1.2
@@ -58,7 +58,7 @@
* in, that serves as "input" to the provider.
* @return a graph containing the work product of the provider.
*/
- protected abstract void handleRequest(MOBYProvider requestGraph);
+ protected abstract void handleRequest(MOBYService requestGraph);
/**
* A utility method for getting a buffered reader (as returned by
@@ -108,16 +108,16 @@
MOBY.GRAPH_PARAMETER_NAME, request);
Parser parser = Parser.forString(
graphString, Parser.LANGUAGE_RDF_XML);
- MOBYProvider provider = parser.parseProvider();
+ MOBYService service = parser.parseService();
// Invoke the abstract handleRequest() method in order for the
// provider servlet to do whatever it does to the graph.
//
- handleRequest(provider);
+ handleRequest(service);
// Send the graph back in response
//
- provider.serialize(out);
+ service.serialize(out);
}
catch (Throwable t)
{
More information about the MOBY-guts
mailing list