[MOBY-guts] biomoby commit
Paul Gordon
gordonp at dev.open-bio.org
Wed Jul 16 20:37:21 UTC 2008
gordonp
Wed Jul 16 16:37:21 EDT 2008
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv16372/src/main/ca/ucalgary/seahawk/gui
Modified Files:
MobyContentGUI.java
Log Message:
Got rid of explicit namespace pre-loading, since new caching mechanism is being used
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobyContentGUI.java,1.16,1.17
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentGUI.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentGUI.java 2008/01/30 00:04:56 1.16
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentGUI.java 2008/07/16 20:37:21 1.17
@@ -900,20 +900,10 @@
final long allowedAgeMillis = (long) SeahawkOptions.getCacheExpiry()*60*60*1000; // hours to milliseconds
RegistryCache.deleteExpiredCacheFiles(allowedAgeMillis);
+ // TODO: deal with CentralImpl.getDefaultCentral()
+
// Redirect the registry endpoints to local cache files if available
// preferredRegistry and/or dataDefURL may be null, if not cached, but that's okay to pass around
- new Thread(){
- public void run(){
- try{
- MobyNamespace.loadNamespaces(RegistryCache.cacheRegistryOntology(preferredRegistry,
- Central.NAMESPACES_RESOURCE_NAME,
- allowedAgeMillis).toURI().toURL(),
- preferredRegistry);
- }catch(Exception e){
- e.printStackTrace();
- }
- }}.start();
-
// The following command will cache all data type definitions for this session
new Thread(){
public void run(){
@@ -938,10 +928,6 @@
e.printStackTrace();
}
}}.start();
- // And the service definitions
- //new Thread(){
- // public void run(){org.biomoby.shared.MobyService.getService("","");}
- // }.start();
}
/**
More information about the MOBY-guts
mailing list