System.out.println("\tgroup " + _groups[i]);
if (lookup != null && lookup.length() > 0) {
LookupLocator loc = new LookupLocator(lookup);
LookupLocator[] locArray = new LookupLocator[] { loc };
LookupLocatorDiscovery disco =
new LookupLocatorDiscovery(locArray);
disco.addDiscoveryListener(new Discoverer());
}
else {
LookupDiscovery disco = new LookupDiscovery(_groups);
disco.addDiscoveryListener(new Discoverer());
}
}