cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1156219 - /cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/AbstractFactoryBeanDefinitionParser.java
Date Wed, 10 Aug 2011 15:16:52 GMT
Author: dkulp
Date: Wed Aug 10 15:16:52 2011
New Revision: 1156219

URL: http://svn.apache.org/viewvc?rev=1156219&view=rev
Log:
[CXF-3727] Wire in depends-on to factory beans

Modified:
    cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/AbstractFactoryBeanDefinitionParser.java

Modified: cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/AbstractFactoryBeanDefinitionParser.java
URL: http://svn.apache.org/viewvc/cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/AbstractFactoryBeanDefinitionParser.java?rev=1156219&r1=1156218&r2=1156219&view=diff
==============================================================================
--- cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/AbstractFactoryBeanDefinitionParser.java
(original)
+++ cxf/trunk/common/common/src/main/java/org/apache/cxf/configuration/spring/AbstractFactoryBeanDefinitionParser.java
Wed Aug 10 15:16:52 2011
@@ -67,6 +67,9 @@ public abstract class AbstractFactoryBea
             } else if ("abstract".equals(name)) {
                 factoryBean.setAbstract(true);
                 bean.setAbstract(true);
+            } else  if ("depends-on".equals(name)) {
+                factoryBean.addDependsOn(val);
+                bean.addDependsOn(val);
             } else if (!"id".equals(name) && !"name".equals(name) && isAttribute(pre,
name)) {
                 if ("bus".equals(name)) {
                     setBus = true;



Mime
View raw message