@Test public void testStopWithNoInit() throws Exception { MockDaemon<MockServiceDaemon> daemon = new MockDaemon<MockServiceDaemon>(); daemon.stop(); }
public final void stop() { setLoggingCategory(); setStatus(Fiber.STOP_PENDING); if (m_context != null) { m_context.close(); } setStatus(Fiber.STOPPED); }
AbstractSpringContextJmxServiceDaemon implements BaseOnmsMBean { public final void stop() { setLoggingCategory(); setStatus(Fiber.STOP_PENDING); if (m_context != null) { m_context.close(); } setStatus(Fiber.STOPPED); } }
AbstractSpringContextJmxServiceDaemon implements BaseOnmsMBean { public final void stop() { setLoggingCategory(); setStatus(Fiber.STOP_PENDING); if (m_context != null) { m_context.close(); } setStatus(Fiber.STOPPED); } AbstractSpringContextJmxServiceDaemon(); }
AbstractSpringContextJmxServiceDaemon implements BaseOnmsMBean { public final void stop() { setLoggingCategory(); setStatus(Fiber.STOP_PENDING); if (m_context != null) { m_context.close(); } setStatus(Fiber.STOPPED); } AbstractSpringContextJmxServiceDaemon(); final void init(); final void start(); @SuppressWarnings("unchecked") T getDaemon(); final void stop(); final int getStatus(); final String status(); final String getStatusText(); }
AbstractSpringContextJmxServiceDaemon implements BaseOnmsMBean { public final void stop() { setLoggingCategory(); setStatus(Fiber.STOP_PENDING); if (m_context != null) { m_context.close(); } setStatus(Fiber.STOPPED); } AbstractSpringContextJmxServiceDaemon(); final void init(); final void start(); @SuppressWarnings("unchecked") T getDaemon(); final void stop(); final int getStatus(); final String status(); final String getStatusText(); static final String DAEMON_BEAN_NAME; }