args = OptionHandlerPort.appendArg(args, port);
run(args);
}
public void run(final String[] args) {
final IsisRunner runner = new IsisRunner(args, new OptionHandlerDeploymentTypeWebServer());
addOptionHandlersAndValidators(runner);
if (!runner.parseAndValidate()) {
return;
}
runner.setConfigurationBuilder(new IsisConfigurationBuilderDefault());
runner.primeConfigurationWithCommandLineOptions();
runner.loadInitialProperties();
final WebServerBootstrapper bootstrapper = new WebServerBootstrapper(runner);
bootstrapper.bootstrap(null);
jettyServer = bootstrapper.getJettyServer();
}