ensure enfin service is started in background when desktop is displayed
authorjprocter <Jim Procter>
Fri, 11 Jun 2010 14:57:02 +0000 (14:57 +0000)
committerjprocter <Jim Procter>
Fri, 11 Jun 2010 14:57:02 +0000 (14:57 +0000)
src/jalview/gui/Desktop.java

index d32b901..3ba50c5 100755 (executable)
@@ -1966,6 +1966,14 @@ public class Desktop extends jalview.jbgui.GDesktop implements
   public void startServiceDiscovery()
   {
     discoverer.start();
+    
+    try {
+      new Thread(jalview.ws.EnfinEnvision2OneWay.getInstance()).start();
+    } catch (Exception e)
+    {
+      Cache.log.info("Exception when trying to launch Envision2 workflow discovery.",e);
+      Cache.log.info(e.getStackTrace());
+    }
     new Thread(jalview.ws.jws2.Jws2Discoverer.getDiscoverer()).start();
   }
 }