diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-29 00:14:45 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-29 00:14:45 +0000 |
commit | 49a28fd5795d7ed1d155a2ee571a98e009214281 (patch) | |
tree | d19634ec9c8464688804afa3bb438d3ed1502abb /sca-java-2.x/trunk/modules/implementation-spring/src | |
parent | f661a34f0314c405134067c843222312f8408db7 (diff) |
Add the parent delegation for the SCA spring application context
Improve the sample to demonstrate the child bean wired to a bean in the parent context (WebApplicationContext)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980272 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-spring/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/invocation/SpringImplementationTie.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/invocation/SpringImplementationTie.java b/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/invocation/SpringImplementationTie.java index 81cbed28dc..d8b7d0c285 100644 --- a/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/invocation/SpringImplementationTie.java +++ b/sca-java-2.x/trunk/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/invocation/SpringImplementationTie.java @@ -132,7 +132,8 @@ public class SpringImplementationTie { } // end if } // end for // TODO: NoSuchBeanException - throw new RuntimeException("Unable to find Bean with name " + name); + // throw new RuntimeException("Unable to find Bean with name " + name); + return null; } // end method getBean( String, Class ) |