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