/** * @param shutdownToken * a secret password to avoid unauthorized shutdown attempts * @param exitJVM If true, when the shutdown is executed, the handler class System.exit() * @param sendShutdownAtStart If true, a shutdown is sent as a HTTP post * during startup, which will shutdown any previously running instances of * this server with an identically configured ShutdownHandler */ public ShutdownHandler(String shutdownToken, boolean exitJVM, boolean sendShutdownAtStart) { this._shutdownToken = shutdownToken; setExitJvm(exitJVM); setSendShutdownAtStart(sendShutdownAtStart); }
/** * @param shutdownToken * a secret password to avoid unauthorized shutdown attempts * @param exitJVM If true, when the shutdown is executed, the handler class System.exit() * @param sendShutdownAtStart If true, a shutdown is sent as a HTTP post * during startup, which will shutdown any previously running instances of * this server with an identically configured ShutdownHandler */ public ShutdownHandler(String shutdownToken, boolean exitJVM, boolean sendShutdownAtStart) { this._shutdownToken = shutdownToken; setExitJvm(exitJVM); setSendShutdownAtStart(sendShutdownAtStart); }
/** * @param shutdownToken * a secret password to avoid unauthorized shutdown attempts * @param exitJVM If true, when the shutdown is executed, the handler class System.exit() * @param sendShutdownAtStart If true, a shutdown is sent as a HTTP post * during startup, which will shutdown any previously running instances of * this server with an identically configured ShutdownHandler */ public ShutdownHandler(String shutdownToken, boolean exitJVM, boolean sendShutdownAtStart) { this._shutdownToken = shutdownToken; setExitJvm(exitJVM); setSendShutdownAtStart(sendShutdownAtStart); }