{
Thread runner = getDiscoverer().startDiscoverer(
new PropertyChangeListener()
- {
+ {
- public void propertyChange(PropertyChangeEvent evt)
- {
- if (getDiscoverer().services!=null)
+ public void propertyChange(PropertyChangeEvent evt)
+ {
+ if (getDiscoverer().services != null)
{
System.out.println("Changesupport: There are now "
- + getDiscoverer().services.size() + " services");
-
- }
- }
- });
+ + getDiscoverer().services.size() + " services");
+
+ }
+ }
+ });
while (runner.isAlive())
{
try
e.printStackTrace();
return false;
}
+
return true;
}
}
/**
- * add an 'empty' JABA server to the list
+ * add an 'empty' JABA server to the list. Only servers not already in the 'bad URL' list will be added to this list.
*
* @param jwsservers
*/
{
urlsWithoutServices = new Vector<String>();
}
- if (!urlsWithoutServices.contains(jwsservers))
+
+ if ((invalidServiceUrls == null || !invalidServiceUrls
+ .contains(jwsservers))
+ && !urlsWithoutServices.contains(jwsservers))
{
urlsWithoutServices.add(jwsservers);
}
if (getInvalidServiceUrls() != null
&& getInvalidServiceUrls().size() > 0)
{
- ermsg.append("Invalid Service URLS: \n");
+ ermsg.append("URLs that could not be contacted: \n");
for (String svcurl : getInvalidServiceUrls())
{
if (list)