diff options
Diffstat (limited to 'java/sca')
-rw-r--r-- | java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/SCAParentApplicationContext.java | 10 |
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(); } |