You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jm...@apache.org on 2006/09/07 03:07:27 UTC
svn commit: r440922 -
/incubator/tuscany/java/sca/containers/container.spring/src/main/java/org/springframework/sca/ScaServiceProxyFactoryBean.java
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