[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Thu Oct 26 00:37:29 UTC 2006


gordonp
Wed Oct 25 20:37:28 EDT 2006
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv15106/src/main/ca/ucalgary/seahawk/gui

Modified Files:
	MobyContentGUI.java 
Log Message:
Added caching of service instances (mainly to filter for alive ones), put caching of this and object hierarchy into threads on startup
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobyContentGUI.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentGUI.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentGUI.java	2006/10/25 13:54:50	1.2
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentGUI.java	2006/10/26 00:37:28	1.3
@@ -857,10 +857,17 @@
 // 			       "error");
 // 	}
 
+	// The following command will cache all data type definitions for this session
+	new Thread(){
+		public void run(){org.biomoby.shared.MobyDataType.getDataType("Object");}
+	    }.start();
+	// And the service definitions
+	new Thread(){
+		public void run(){org.biomoby.shared.MobyService.getService("","");}
+	    }.start();
+
 	MobyContentGUI gui = ca.ucalgary.seahawk.util.MobyUtils.getMobyContentGUI(new JLabel());
 	gui.setDefaultCloseOperation(defaultCloseOperation);
-	// The following command will cache all data type definitions for this session
-	Object dataType = org.biomoby.shared.MobyDataType.getDataType("Object");
 
 	gui.setVisible(true);
 	if(argv.length != 0){




More information about the MOBY-guts mailing list