[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Wed Jul 16 20:25:24 UTC 2008


gordonp
Wed Jul 16 16:25:24 EDT 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv16110/src/main/org/biomoby/client

Modified Files:
	CentralDigestCachedImpl.java 
Log Message:
Added simpler c-tors
moby-live/Java/src/main/org/biomoby/client CentralDigestCachedImpl.java,1.32,1.33
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedImpl.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedImpl.java	2008/02/28 18:47:32	1.32
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedImpl.java	2008/07/16 20:25:24	1.33
@@ -74,6 +74,13 @@
     private int datatype_threshold ;
     private int service_threshold ;
     private int service_type_threshold ;
+
+    /**
+     * The same as calling CentralDigestCachedImpl(null)
+     */
+    public CentralDigestCachedImpl () throws MobyException{
+	this(null);
+    }
     
     /***************************************************************************
      * Create an instance that will access a default Moby registry and
@@ -85,6 +92,15 @@
     }
 
     /***************************************************************************
+     * Create an instance that will access a specific Moby registry and
+     * will cache results in the default cache directory.  <p>
+     **************************************************************************/
+    public CentralDigestCachedImpl (String endpoint, String namespace)
+	throws MobyException{
+	this (endpoint, namespace, null);
+    }
+
+    /***************************************************************************
      * Create an instance that will access a Moby registry defined by
      * its 'endpoint' and 'namespace', and will cache results in the
      * 'cacheDir' directory. Note that the same 'cacheDir' can be




More information about the MOBY-guts mailing list