this.hostHolder = hostHolder;
}
public void onStart(ISuite suite) {
logger.debug("Setting up cloud host {}", cloudHostLabel);
CloudHost host = CloudHostFactory.getCloudHost(cloudHostLabel);
host.setup();
if (!hostHolder.compareAndSet(null, host)) {
throw new IllegalStateException(format("Cannot initialize host [%s] twice", cloudHostLabel));
}
}