public void stop() { if (state != BaseConstants.STARTED) return; state = BaseConstants.STOPPED; mbeanSupport.unregister(); log.info(getTransportName().toUpperCase() + " Sender Shutdown"); }
public void stop() { if (state != BaseConstants.STARTED) return; state = BaseConstants.STOPPED; mbeanSupport.unregister(); log.info(getTransportName().toUpperCase() + " Sender Shutdown"); }
public void destroy() { ioReactor = null; cfgCtx.getAxisConfiguration().getObserversList().remove(axisObserver); mbeanSupport.unregister(); metrics.destroy(); }
public void stop() { if (state == BaseConstants.STOPPED) return; try { ioReactor.shutdown(); handler.stop(); state = BaseConstants.STOPPED; } catch (IOException e) { log.warn("Error shutting down IOReactor", e); } mbeanSupport.unregister(); metrics.destroy(); }
public void destroy() { try { if (state == BaseConstants.STARTED) { try { stop(); } catch (AxisFault ignore) { log.warn("Error stopping the transport : " + getTransportName()); } } } finally { state = BaseConstants.STOPPED; mbeanSupport.unregister(); } try { workerPool.shutdown(10000); } catch (InterruptedException ex) { log.warn("Thread interrupted while waiting for worker pool to shut down"); } }
public void destroy() { try { if (state == BaseConstants.STARTED) { try { stop(); } catch (AxisFault ignore) { log.warn("Error stopping the transport : " + getTransportName()); } } } finally { state = BaseConstants.STOPPED; mbeanSupport.unregister(); } try { workerPool.shutdown(10000); } catch (InterruptedException ex) { log.warn("Thread interrupted while waiting for worker pool to shut down"); } }