summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-07-27 04:01:04 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2008-07-27 04:01:04 +0000
commitf0fef665cdb82f2d47358c8686c36f5e9911a535 (patch)
treee02ecad737b68a579e400ce01bb30585123335ac /java/sca/modules
parentee4fb6da5a3f23a3c6e6716dfa97b9138c97cf94 (diff)
TUSCANY-2502 - Applying patch to make spring implementation compatible with Spring 2.5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@680065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java b/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java
index 7c5d0f46d6..d419d6db68 100644
--- a/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java
+++ b/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java
@@ -73,7 +73,7 @@ class SCAParentApplicationContext implements ApplicationContext {
} // end constructor
public Object getBean(String name) throws BeansException {
- return getBean(name, null);
+ return getBean(name, (Class) null);
}
/**
@@ -118,6 +118,10 @@ class SCAParentApplicationContext implements ApplicationContext {
} // end method getBean( String, Class )
+ public Object getBean(String name, Object[] args) throws BeansException {
+ return getBean(name, ((Class)null));
+ }
+
/**
* Creates a proxy Bean for a reference
* @param <B> the Business interface type for the reference
@@ -183,6 +187,10 @@ class SCAParentApplicationContext implements ApplicationContext {
return null;
}
+ public String getId() {
+ return this.toString();
+ }
+
public String getDisplayName() {
return implementation.getURI();
}