cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1088669 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusWiringBeanFactoryPostProcessor.java
Date Mon, 04 Apr 2011 16:07:02 GMT
Author: dkulp
Date: Mon Apr  4 16:07:02 2011
New Revision: 1088669

URL: http://svn.apache.org/viewvc?rev=1088669&view=rev
Log:
Add a deprecation flag to a method restored for 2.3.x compatibility

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

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusWiringBeanFactoryPostProcessor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusWiringBeanFactoryPostProcessor.java?rev=1088669&r1=1088668&r2=1088669&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusWiringBeanFactoryPostProcessor.java
(original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/spring/BusWiringBeanFactoryPostProcessor.java
Mon Apr  4 16:07:02 2011
@@ -147,6 +147,15 @@ public class BusWiringBeanFactoryPostPro
         constructorArgs.addIndexedArgumentValue(0, valueToInsert);
     }
     
+    
+    /**
+     * This is deprecated and is there to support 2.3.x compatibility.
+     * Code should be updated to call addDefaultBus(ctx) instead to get the bus
+     * associated with the context.
+     * @param bus
+     * @param ctx
+     */
+    @Deprecated
     public static void updateBusReferencesInContext(Bus bus, ApplicationContext ctx) {
         Configurer conf = bus.getExtension(Configurer.class);
         if (conf instanceof NullConfigurer) {



Mime
View raw message