[MOBY-guts] biomoby commit
Martin Senger
senger at dev.open-bio.org
Mon Mar 3 11:34:17 UTC 2008
senger
Mon Mar 3 06:34:17 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv3170/src/main/org/biomoby/client
Modified Files:
CentralDigestCachedSimpleImpl.java ExtendedServiceLocator.java
Log Message:
* more work on junit testing and its infrastructure
* removing some compiler warnings from generated data types
* better use of caching in skeleton generator
moby-live/Java/src/main/org/biomoby/client CentralDigestCachedSimpleImpl.java,1.2,1.3 ExtendedServiceLocator.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedSimpleImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedSimpleImpl.java 2008/02/23 13:58:32 1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedSimpleImpl.java 2008/03/03 11:34:17 1.3
@@ -117,6 +117,15 @@
return cacheDir;
}
+ /***************************************************************************
+ * Indicate whether the implementtaion really is using a local cache. <p>
+ *
+ * @return true if a local cache is used
+ **************************************************************************/
+ public boolean isUsingCache() {
+ return getCacheDir() != null;
+ }
+
/**************************************************************************
* Removes object groups from the cache. If 'id' is null it
* removes the whole cache (for that Moby registry this instance
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ExtendedServiceLocator.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ExtendedServiceLocator.java 2006/02/20 05:51:09 1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ExtendedServiceLocator.java 2008/03/03 11:34:17 1.3
@@ -8,6 +8,8 @@
package org.biomoby.client;
+import org.biomoby.shared.MobyService;
+
/**
* An extended container allowing to store information how to call a
* biomoby service using non-biomoby protocols. A typical example
@@ -33,6 +35,20 @@
boolean loop = false;
/**************************************************************************
+ * Default constructor.
+ *************************************************************************/
+ public ExtendedServiceLocator() {
+ super();
+ }
+
+ /**************************************************************************
+ * Another constructor, seeting also a service.
+ *************************************************************************/
+ public ExtendedServiceLocator (MobyService service) {
+ super (service);
+ }
+
+ /**************************************************************************
* Set name of a local class that represents (implements) a
* service. <p>
*
More information about the MOBY-guts
mailing list