argsList.addAll(asList(args));
return startAgent(argsList.toArray(new String[argsList.size()]));
}
protected MasterMain startMaster(final String... args) throws Exception {
final MasterMain main = new MasterMain(args);
main.startAsync().awaitRunning();
services.add(main);
return main;
}