stopService(); } catch (Throwable e) { state = FAILED;
@Override protected void stopService() throws Exception { super.stopService(); try { if (stopMethod != null) stopMethod.invoke(delegate); } catch (InvocationTargetException e) { Throwable t = e.getCause(); if (t instanceof Exception) throw (Exception)t; else throw new RuntimeException(t); } }
@Override protected void stopService() throws Exception { super.stopService(); doStopStack(DisconnectCause.REBOOTING); }
@Override protected void stopService() throws Exception { super.stopService(); doStopStack(DisconnectCause.REBOOTING); }
protected void jbossInternalStop() { if (state != STARTED) { log.debug("Ignoring stop call; current state is " + getStateString()); return; } state = STOPPING; sendStateChangeNotification(STARTED, STOPPING, getName() + " stopping", null); log.debug("Stopping " + jbossInternalDescription()); try { stopService(); } catch (Throwable e) { state = FAILED; sendStateChangeNotification(STOPPING, FAILED, getName() + " failed", e); log.warn("Stopping failed " + jbossInternalDescription(), e); return; } state = STOPPED; sendStateChangeNotification(STOPPING, STOPPED, getName() + " stopped", null); log.debug("Stopped " + jbossInternalDescription()); }
stopService(); } catch (Throwable e) { state = FAILED;
stopService(); } catch (Throwable e) { state = FAILED;
protected void jbossInternalStop() { if (state != STARTED) { log.debugf("Ignoring stop call; current state is %1s", getStateString()); return; } state = STOPPING; sendStateChangeNotification(STARTED, STOPPING, getName() + " stopping", null); log.debugf("Stopping %1s", jbossInternalDescription()); try { stopService(); } catch (Throwable e) { state = FAILED; sendStateChangeNotification(STOPPING, FAILED, getName() + " failed", e); log.warn("Stopping failed " + jbossInternalDescription(), e); return; } state = STOPPED; sendStateChangeNotification(STOPPING, STOPPED, getName() + " stopped", null); log.debugf("Stopped %1s", jbossInternalDescription()); }