public boolean destroy() { try { if (configurationContext != null) { configurationContext.cleanupContexts(); configurationContext.terminate(); } return true; } catch (AxisFault af) { if (log != null) { log.error("error destroying client configuration. " + af); } return false; } }
public void stop() { log.info("Stopping sample Axis2 server"); try { listenerManager.stop(); listenerManager.destroy(); cfgCtx.cleanupContexts(); } catch (AxisFault axisFault) { log.error("Error while shutting down the listener managers", axisFault); } started = false; }
public void stop() { log.info("Stopping sample Axis2 server"); try { listenerManager.stop(); listenerManager.destroy(); cfgCtx.cleanupContexts(); } catch (AxisFault axisFault) { log.error("Error while shutting down the listener managers", axisFault); } started = false; }