cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1085156 - /cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
Date Thu, 24 Mar 2011 21:51:13 GMT
Author: dkulp
Date: Thu Mar 24 21:51:13 2011
New Revision: 1085156

URL: http://svn.apache.org/viewvc?rev=1085156&view=rev
Log:
Fix compile failure on jdk1.5

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java?rev=1085156&r1=1085155&r2=1085156&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/jaxws22/spring/JAXWS22SpringEndpointImpl.java
Thu Mar 24 21:51:13 2011
@@ -41,9 +41,7 @@ public class JAXWS22SpringEndpointImpl e
     
     public void setApplicationContext(ApplicationContext ctx) throws BeansException {
         if (getBus() == null) {
-            Bus bus = BusFactory.getThreadDefaultBus();
-            BusWiringBeanFactoryPostProcessor.updateBusReferencesInContext(bus, ctx);
-            setBus(bus);
+            setBus(BusWiringBeanFactoryPostProcessor.addDefaultBus(ctx));
         }
     }
 }
\ No newline at end of file



Mime
View raw message