@Override public void close() throws Exception { stop(); }
@Override public void close() throws Exception { stop(); }
@PreDestroy public void shutdown() { for (EndpointImpl i : webServices) { i.stop(); } }
} catch (Exception ex) { try { stop(); } catch (Exception e) {
public void tearDown() throws Exception { if (ep != null) { ep.stop(); ep = null; } }
public void tearDown() throws Exception { if (ep != null) { ep.stop(); ep = null; } }
public void tearDown() { jaxep.stop(); jaxep = null; } }
public void tearDown() { ep.stop(); ep = null; }
public void tearDown() { ep.stop(); ep = null; }
public void tearDown() { for (EndpointImpl ep : eps) { ep.stop(); } eps = null; }
public void tearDown() { ep.stop(); ep = null; }
public void tearDown() throws Exception { if (faultToserver != null) { faultToserver.stop(); faultToserver.destroy(); faultToserver = null; } ep.stop(); ep = null; }
@AfterClass public static void clearProperty() { endpoint.stop(); }
@Override public void stop() throws Exception { if (isUseAegis()) { server.stop(); } else { endpoint.stop(); } ReflectionUtils.callLifecycleMethod(getPojo(), PreDestroy.class); JBIDispatcherUtil.clean(); JBITransportFactory jbiTransportFactory = (JBITransportFactory)getBus() .getExtension(ConduitInitiatorManager.class).getConduitInitiator(CxfSeComponent.JBI_TRANSPORT_ID); jbiTransportFactory.setDeliveryChannel(null); jbiTransportFactory.removeDestination(getPojoService().toString() + getPojoInterfaceName().toString()); super.stop(); }
} catch (Exception ex) { try { stop(); } catch (Exception e) {
ep.stop(); epBus.shutdown(true); bus.shutdown(true);