kick off the first time service parameter set discovery thread when service is discovered
authorjprocter <Jim Procter>
Tue, 7 Sep 2010 12:09:17 +0000 (12:09 +0000)
committerjprocter <Jim Procter>
Tue, 7 Sep 2010 12:09:17 +0000 (12:09 +0000)
src/jalview/ws/jws2/Jws2Discoverer.java

index 2ef9cfd..dda8c4e 100644 (file)
@@ -162,7 +162,10 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI
     }
     System.out.println("Discovered service: " + jwsservers + " "
             + srv.toString());
-    services.add(new Jws2Instance(jwsservers, srv.toString(), service2));
+    Jws2Instance service = new Jws2Instance(jwsservers, srv.toString(), service2);
+
+    services.add(service);
+    service.getParamStore();
   }
 
   public class Jws2Instance
@@ -344,6 +347,7 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI
 
     });
     wsmenu.add(jws2al);
+    
   }
 
   private void populateWSMenuEntry(JMenu jws2al, final AlignFrame alignFrame)