@Override protected void doStop() throws Exception { this.preparedStatement = null; super.doStop(); }
@Override protected void doStop() throws Exception { super.doStop(); if (stickyJob && jobInstance != null) { jobInstance.discardJob(); jobInstance = null; } }
@Override protected void doStop() throws Exception { super.doStop(); if (stickyJob && jobInstance != null) { jobInstance.discardJob(); jobInstance = null; } }
@Override public void doStop() throws Exception { endpoint.disconnect(this); super.doStop(); }
@Override protected void doStop() throws Exception { ioReactor.shutdown(); runner.join(); super.doStop(); }
@Override protected void doStop() throws Exception { super.doStop(); if (client != null) { client.stop(); client = null; } }
protected void doStop() throws Exception { super.doStop(); clientFactoryBeanCache.stop(); }
public void stop() throws Exception { searcher.close(); super.doStop(); }
@Override protected void doStop() throws Exception { super.doStop(); if (client != null) { // It will help to release the request context map client.destroy(); client = null; } }
@Override protected void doStop() throws Exception { super.doStop(); if (log.isTraceEnabled()) { log.trace(String.format("Shutting down zookeeper producer of '%s'", configuration.getPath())); } zkm.shutdown(); }
@Override protected void doStop() throws Exception { if (syncTransport != null) { LOG.debug("Terminating synchronous transport the remote Thrift server"); syncTransport.close(); syncTransport = null; } else if (asyncTransport != null) { LOG.debug("Terminating asynchronous transport the remote Thrift server"); asyncTransport.close(); asyncTransport = null; } super.doStop(); }
@Override protected void doStop() throws Exception { if (configuration.getClient() == null) { configuration.setClient(null); LOG.debug("Producer DropBox client deleted"); } super.doStop(); } }
@Override protected void doStop() throws Exception { super.doStop(); if (unmarshaller != null) { unmarshaller.stop(); } if (marshaller != null) { marshaller.stop(); } }
@Override protected void doStop() throws Exception { super.doStop(); if (mqContext != null) { mqProducer = null; mqContext.stop(); mqContext = null; } replyManager.stop(); }
public void stop() throws Exception { this.indexer.getNiofsDirectory().close(); super.doStop(); }
@Override protected void doStop() throws Exception { if (client != null) { LOG.info("Disconnecting from ElasticSearch cluster: {}", configuration.getClusterName()); client.close(); if (sniffer != null) { sniffer.close(); } } super.doStop(); }
@Override protected void doStop() throws Exception { if (executor != null) { endpoint.getCamelContext().getExecutorServiceManager().shutdown(executor); executor = null; } super.doStop(); }
@Override protected void doStop() throws Exception { if (connection != null) { for (IrcChannel channel : endpoint.getConfiguration().getChannels()) { LOG.debug("Parting: {}", channel); connection.doPart(channel.getName()); } connection.removeIRCEventListener(listener); } super.doStop(); }
@Override protected void doStop() throws Exception { super.doStop(); try { SecurityModels.getInstance().removeSecurityModel(new Integer32(this.usm.getID())); } finally { this.targetAddress = null; this.usm = null; this.target = null; } }
@Override protected void doStop() throws Exception { super.doStop(); getSipStack().deleteListeningPoint(configuration.getListeningPoint()); provider.removeSipListener(sipPublishListener); getSipStack().deleteSipProvider(provider); getSipStack().stop(); }