Author: jstrachan
Date: Wed Sep 26 04:06:54 2007
New Revision: 579588
URL: http://svn.apache.org/viewvc?rev=579588&view=rev
Log:
trivial refactor which just makes debugging a tiny bit easier :)
Modified:
incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
Modified:
incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
URL:
http://svn.apache.org/viewvc/incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java?rev=579588&r1=579587&r2=579588&view=diff
==============================================================================
---
incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
(original)
+++
incubator/servicemix/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
Wed Sep 26 04:06:54 2007
@@ -71,7 +71,8 @@
su.setName(serviceUnitName);
su.setRootPath(serviceUnitRootPath);
// Load configuration
-
Thread.currentThread().setContextClassLoader(component.getClass().getClassLoader());
+ ClassLoader classLoader = component.getClass().getClassLoader();
+ Thread.currentThread().setContextClassLoader(classLoader);
SpringLoader springLoader = createSpringLoader();
springLoader.setKernel(kernel);