public static void main(String[] args) {
new AtmosphereDeployer().launch(init(args));
}
public static AtmosphereDeployerConfiguration init(String args[]) {
AtmosphereDeployerConfiguration cfg = new AtmosphereDeployerConfiguration();
cfg = (AtmosphereDeployerConfiguration) ConfigurationParser
.parseOptions(args, AtmosphereDeployer.class.getCanonicalName(), (DeployerServerConfiguration) cfg);
logger.info("{}", cfg.toString());
return cfg;
}