/** * <p>start</p> * * @throws java.lang.Throwable if any. */ public void start() throws Throwable { getDaemonMgr().start(); }
/** * <p>stop</p> */ @Override public void stop() { setLogPrefix(); for (MBeanServer server : getMBeanServers()) { stop(server); } }
/** * <p>stop</p> * * @return a int. */ public int stop() { return invokeOperation("stop"); }
/** * <p>startDaemon</p> */ public void startDaemon() { configureLog4j(); setLogPrefix(); setupMx4jLogger(); loadGlobalProperties(); setDefaultProperties(); start(); }
/** * <p>doTestLoadLibraries</p> */ @Override public void doTestLoadLibraries() { setLogPrefix(); testPinger(); testGetLocalHost(); }
/** * Start the OpenNMS daemon. Never returns. */ public void start() { Starter starter = new Starter(); starter.startDaemon(); }
/** * <p>main</p> * * @param argv an array of {@link java.lang.String} objects. * @throws java.lang.Exception if any. */ public static void main(final String[] argv) throws Exception { final DatabaseChecker checker = new DatabaseChecker(); checker.check(); } }
/** * Gets the controller. * * @return the controller */ public static Controller getController() { if (controller == null) { controller = new Controller(); } return controller; }
/** * No public constructor. Use @{link InvokerService#createServiceArray(Service[])}. */ private InvokerService(Service service) { setService(service); }
private void resume() throws Throwable { getDaemonMgr().resume(); }
private void stop() throws Throwable { getDaemonMgr().stop(); }
private void pause() throws Throwable { getDaemonMgr().pause(); }
/** * <p>stop</p> */ public void stop() { setLogPrefix(); for (MBeanServer server : getMBeanServers()) { stop(server); } }
/** * <p>doTestLoadLibraries</p> */ public void doTestLoadLibraries() { setLogPrefix(); testPinger(); testGetLocalHost(); }
/** * Start the OpenNMS daemon. Never returns. */ public void start() { Starter starter = new Starter(); starter.startDaemon(); }
/** * <p>main</p> * * @param argv an array of {@link java.lang.String} objects. * @throws java.lang.Exception if any. */ public static void main(final String[] argv) throws Exception { final DatabaseChecker checker = new DatabaseChecker(); checker.check(); } }
/** * <p>exit</p> * * @return a int. */ public int exit() { return invokeOperation("doSystemExit"); }
/** * No public constructor. Use @{link InvokerService#createServiceArray(Service[])}. */ private InvokerService(Service service) { setService(service); }
/** * <p>dumpThreads</p> * * @return a int. */ public int dumpThreads() { return invokeOperation("dumpThreads"); }
/** * <p>exit</p> * * @return a int. */ public int exit() { return invokeOperation("doSystemExit"); }