public void run() { shutDown(); } }));
@Override public void destroy() { Stagemonitor.shutDown(); } }
public static synchronized void init() { if (initialized) { return; } initialized = true; try { reset(); } catch (Throwable e) { logger.error(e.getMessage(), e); try { // something bad happened, try to shut down Stagemonitor.shutDown(); } catch (Throwable t) { logger.error(t.getMessage(), t); } } }
@Override public void destroy() { Stagemonitor.shutDown(); } }