new GuiceCometdModule());
PluginServiceLocatorRest processStarter = injector.getInstance(PluginServiceLocatorRest.class);
processStarter.start();
BeakerConfig bkConfig = injector.getInstance(BeakerConfig.class);
Server server = injector.getInstance(Server.class);
server.start();
// openBrower and show connection instruction message
final String initUrl = bkConfig.getBaseURL();
if (openBrowser) {
injector.getInstance(GeneralUtils.class).openUrl(initUrl);
System.out.println("\nConnecting to " + initUrl);
} else {
System.out.println("\nConnect to " + initUrl);
}
if (publicServer) {
System.out.println("Submit this password: " + bkConfig.getPassword());
}
System.out.println("");
}