From 66eff479b11806bdcb0852c52344e9a520990921 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 7 Sep 2010 12:09:17 +0000 Subject: [PATCH] kick off the first time service parameter set discovery thread when service is discovered --- src/jalview/ws/jws2/Jws2Discoverer.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/jalview/ws/jws2/Jws2Discoverer.java b/src/jalview/ws/jws2/Jws2Discoverer.java index 2ef9cfd..dda8c4e 100644 --- a/src/jalview/ws/jws2/Jws2Discoverer.java +++ b/src/jalview/ws/jws2/Jws2Discoverer.java @@ -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) -- 1.7.10.2