tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmar...@apache.org
Subject svn commit: r440922 - /incubator/tuscany/java/sca/containers/container.spring/src/main/java/org/springframework/sca/ScaServiceProxyFactoryBean.java
Date Thu, 07 Sep 2006 01:07:27 GMT
Author: jmarino
Date: Wed Sep  6 18:07:26 2006
New Revision: 440922

URL: http://svn.apache.org/viewvc?view=rev&rev=440922
Log:
temp fix for Spring application context initialization before parent composite problem

Modified:
    incubator/tuscany/java/sca/containers/container.spring/src/main/java/org/springframework/sca/ScaServiceProxyFactoryBean.java

Modified: incubator/tuscany/java/sca/containers/container.spring/src/main/java/org/springframework/sca/ScaServiceProxyFactoryBean.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/containers/container.spring/src/main/java/org/springframework/sca/ScaServiceProxyFactoryBean.java?view=diff&rev=440922&r1=440921&r2=440922
==============================================================================
--- incubator/tuscany/java/sca/containers/container.spring/src/main/java/org/springframework/sca/ScaServiceProxyFactoryBean.java
(original)
+++ incubator/tuscany/java/sca/containers/container.spring/src/main/java/org/springframework/sca/ScaServiceProxyFactoryBean.java
Wed Sep  6 18:07:26 2006
@@ -108,7 +108,8 @@
         }
 
         if (!this.applicationContext.getParent().containsBean(this.referenceName)) {
-            scaServiceRef = this.applicationContext.getParent().getBean(this.defaultServiceName);
+            return new Object();
+            //scaServiceRef = this.applicationContext.getParent().getBean(this.defaultServiceName);
         } else {
             scaServiceRef = this.applicationContext.getParent().getBean(this.referenceName);
         }
@@ -130,7 +131,7 @@
     * @see org.springframework.beans.factory.FactoryBean#isSingleton()
     */
     public boolean isSingleton() {
-        return true;
+        return false;
     }
 
     public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
{



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message