cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1100162 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBus.java
Date Fri, 06 May 2011 10:30:55 GMT
Author: ningjiang
Date: Fri May  6 10:30:54 2011
New Revision: 1100162

URL: http://svn.apache.org/viewvc?rev=1100162&view=rev
Log:
CXF-3497 Set the ClassLoader Extension when the bus is load from Spring

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBus.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBus.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBus.java?rev=1100162&r1=1100161&r2=1100162&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBus.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/SpringBus.java Fri May  6 10:30:54
2011
@@ -57,6 +57,10 @@ public class SpringBus extends Extension
             }
             ac = ac.getParent();
         }
+        
+        // set the classLoader extension with the application context classLoader
+        setExtension(applicationContext.getClassLoader(), ClassLoader.class);
+        
         setExtension(new ConfigurerImpl(applicationContext), Configurer.class);
         
         ResourceManager m = getExtension(ResourceManager.class);



Mime
View raw message