@Override public void run(String... arguments) throws Exception { if (arguments.length == 0) { super.run("server", "hook-consumer.yml"); } else { super.run(arguments); } }
/** Runs lifecycle start and starts server. */ public void start() throws Exception { application.initialize(bootstrap); bootstrap.run(builtConfig, environment); application.run(builtConfig, environment); toggleManagedObjects(true); jettyServer.start(); }