tester.setProgressMonitor(progressMonitor);
return tester;
}
private ConnectionTester visit(LdapLocation loc) {
LdapConnectionTester tester = new LdapConnectionTester(loc);
class Callback extends CallbackBase implements LdapSourceConnectionCallback {
@Override
public void connected() {
AllLocationsTester.this.connectionSucceeded();
}
}
tester.setSourceConnectionCallback(new Callback());
tester.setProgressMonitor(progressMonitor);
return tester;
}