- // FIXME: Condition should check the discoverer's isRunning rather than
- // threads
- alive = (t1 != null && t1.isAlive()) || (t2 != null && t2.isAlive())
- || (t3 != null && t3.isAlive()) || (t0 != null && t0.isAlive());
- }
- }
- }
-
- public Thread startServiceDiscovery(WSDiscovererI discoverer,
- boolean blocking)
- {
- Thread thread = discoverer.startDiscoverer(changeSupport);
- if (blocking)
- {
- try
- {
- thread.join();
- } catch (InterruptedException e)
- {
- e.printStackTrace();