modelControllerClient = ModelControllerClient.Factory.create(
configuration.getManagementAddress(),
configuration.getManagementPort(),
Authentication.getCallbackHandler());
} catch (UnknownHostException e) {
throw new ContainerManagerException(e);
}
client = new ManagementClient(modelControllerClient, configuration.getManagementAddress(), configuration.getManagementPort());
try {
startInternal();
} catch (RuntimeException e) {
safeCloseClient();
throw new ContainerManagerException(e);
}
}