@Override protected void doStop(ServiceStopper stopper) throws Exception { if (selection != null) { selection.close(); selection = null; } super.doStop(stopper); } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { if (selection != null) { selection.close(); selection = null; } super.doStop(stopper); } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { if (selection != null) { selection.close(); selection = null; } super.doStop(stopper); } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { if (selection != null) { selection.close(); selection = null; } super.doStop(stopper); } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { try { if (selection != null) { selection.close(); } } finally { super.doStop(stopper); } } }
protected void doStop(ServiceStopper stopper) throws Exception { try { selection.close(); } catch (Exception e) { e.printStackTrace(); } super.doStop(stopper); } }
protected void doStop(ServiceStopper stopper) throws Exception { if (selection != null) { selection.close(); } super.doStop(stopper); } }
@Override protected void doStop(ServiceStopper stopper) throws Exception { if (xmlWriter != null) { try { xmlWriter.writeEndElement(); xmlWriter.writeEndDocument(); xmlWriter.close(); } catch (XMLStreamException e) { // the client may have closed first so ignore this LOG.info("Caught trying to close transport: " + e, e); } } if (xmlReader != null) { try { xmlReader.close(); } catch (XMLStreamException e) { // the client may have closed first so ignore this LOG.info("Caught trying to close transport: " + e, e); } } super.doStop(stopper); }