summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2012-11-06 17:09:43 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2012-11-06 17:09:43 +0000
commit6f0324ddc93206bd139aad9587ebf81b0913b2a6 (patch)
treedf38d19b6baa364462972a167951274cafd21349
parent3cc8ffe81e031b9c723b5b614720d036aca729ac (diff)
Extend from GenericApplicationContext so that it evolves as Spring version upgrades
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1406224 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/context/SCAParentApplicationContext.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/context/SCAParentApplicationContext.java b/sca-java-2.x/trunk/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/context/SCAParentApplicationContext.java
index cd81facc3d..dc3f811558 100644
--- a/sca-java-2.x/trunk/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/context/SCAParentApplicationContext.java
+++ b/sca-java-2.x/trunk/modules/implementation-spring-runtime/src/main/java/org/apache/tuscany/sca/implementation/spring/context/SCAParentApplicationContext.java
@@ -29,6 +29,7 @@ import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
import org.springframework.context.ApplicationContext;
+import org.springframework.context.support.GenericApplicationContext;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.MessageSourceResolvable;
import org.springframework.context.NoSuchMessageException;
@@ -47,7 +48,7 @@ import org.springframework.core.io.Resource;
*
* @version $Rev$ $Date$
*/
-public class SCAParentApplicationContext implements ApplicationContext {
+public class SCAParentApplicationContext extends GenericApplicationContext implements ApplicationContext {
// The Spring implementation for which this is the parent application context
private SpringImplementationWrapper implementation;