578579580581582583584585586587588
} else { return processResult(message, exchange, oi, resContext); } } finally { if (origLoader != null) { origLoader.reset(); } if (origBus != bus) { BusFactory.setThreadDefaultBus(origBus); } }
124125126127128129130131132133134
} finally { if (origBus != bus) { BusFactory.setThreadDefaultBus(origBus); } if (origLoader != null) { origLoader.reset(); } } } private void addToChain(InterceptorChain chain, Message m) { Collection<InterceptorProvider> providers
119120121122123124125126127128129
} finally { if (origBus != bus) { BusFactory.setThreadDefaultBus(origBus); } if (origLoader != null) { origLoader.reset(); } } } protected abstract boolean isOutboundObserver();
210211212213214215216217218219220
//ignore } return CryptoFactory.getInstance(propFilename, this.getClassLoader(reqData.getMsgContext())); } finally { if (orig != null) { orig.reset(); } } } }
539540541542543544545546547548549
130131132133134135136137138139140
} finally { if (origBus != bus) { BusFactory.setThreadDefaultBus(null); } if (origLoader != null) { origLoader.reset(); } } } public void destroy() {
424425426427428429430431432433434
ClassLoaderHolder orig = ClassLoaderUtils.setThreadContextClassloader(loader); try { command.run(); } finally { if (orig != null) { orig.reset(); } } } }; //The ThreadPoolExecutor in the JDK doesn't expand the number
264265266267268269270271272273274
} finally { if (origBus != bus) { BusFactory.setThreadDefaultBus(origBus); } if (origLoader != null) { origLoader.reset(); } } } public void sendExchange(Exchange exchange, final Object replyObj) {
560561562563564565566567568569570
} finally { completeExchange(response, outMessage.getExchange(), true); } } finally { if (origLoader != null) { origLoader.reset(); } if (origBus != configuredBus) { BusFactory.setThreadDefaultBus(origBus); } }
163164165166167168169170171172173
out.add(new HolderOutInterceptor()); } return obj; } finally { if (orig != null) { orig.reset(); } } } private boolean needWrapperClassInterceptor(ServiceInfo serviceInfo) {