[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Fri Nov 30 17:23:17 UTC 2007


gordonp
Fri Nov 30 12:23:16 EST 2007
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv2857/src/main/org/biomoby/client

Modified Files:
	CentralCachedCallsImpl.java MobyRequest.java 
Log Message:
Fixed missing passing of the registry to c-tors, which caused incorrect use of default registry for DOM-based object building
moby-live/Java/src/main/org/biomoby/client CentralCachedCallsImpl.java,1.3,1.4 MobyRequest.java,1.27,1.28
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralCachedCallsImpl.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralCachedCallsImpl.java	2007/06/08 20:30:22	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralCachedCallsImpl.java	2007/11/30 17:23:16	1.4
@@ -1,11 +1,3 @@
-/**
- * Implements the functionality of caching by reusing identical calls to
- * MOBY central (e.g. asking multiple times what services take a DNA 
- * sequence in the gi namespace).  This is an in-memory cache in CentralImpl, 
- * but a filesystem cache backs it up here, so calls can be cached between 
- * JVM instances.
- */
-
 package org.biomoby.client;
 
 import org.biomoby.registry.meta.RegistryCache;
@@ -15,6 +7,15 @@
 import java.io.*;
 import java.util.*;
 
+/**
+ * Implements the functionality of caching by reusing identical calls to
+ * MOBY central (e.g. asking multiple times what services take a DNA 
+ * sequence in the gi namespace).  This is an in-memory cache in CentralImpl, 
+ * but a filesystem cache backs it up here, so calls can be cached between 
+ * JVM instances.  This class is also thread-safe, and avoids redundant 
+ * concurrent calls to the central registry.
+ */
+
 public class CentralCachedCallsImpl extends CentralImpl{
     protected static String CHAR_ENCODING = "UTF-8";
     protected static final String SYNTAX_TYPE = "xml";

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2007/06/16 00:26:01	1.27
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/MobyRequest.java	2007/11/30 17:23:16	1.28
@@ -529,6 +529,8 @@
 					    mobyService.getName()), mobyXMLInputData);
 	}
 	catch(Exception e){
+	    e.printStackTrace();
+	    //System.err.println("Input: "+mobyInputXML);
 	    throw new SOAPException("While invoking SOAP Call: " + e);
 	}
 




More information about the MOBY-guts mailing list