diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-20 23:41:20 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2010-08-20 23:41:20 +0000 |
commit | 38cfa76da36220f74edab061ed28219d30b55204 (patch) | |
tree | 937e4add1459655d3fdfc9f2fea6b0b5699ef639 /sca-java-2.x/trunk/modules | |
parent | 46a3d0538ea0f2f678381b9c0974b25cae3545cb (diff) |
Update the context accessor spi and dependencies
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987669 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-spring-webapp/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-spring-webapp/pom.xml | 2 | ||||
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/java/org/apache/tuscany/sca/implementation/spring/webapp/SpringWebApplicationContextAccessor.java | 8 | ||||
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.spring.context.SpringApplicationContextAccessor (renamed from sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.spring.provider.SpringApplicationContextAccessor) | 0 |
4 files changed, 6 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-spring-webapp/META-INF/MANIFEST.MF b/sca-java-2.x/trunk/modules/implementation-spring-webapp/META-INF/MANIFEST.MF index 25cede8426..42c577b6eb 100644 --- a/sca-java-2.x/trunk/modules/implementation-spring-webapp/META-INF/MANIFEST.MF +++ b/sca-java-2.x/trunk/modules/implementation-spring-webapp/META-INF/MANIFEST.MF @@ -13,7 +13,7 @@ Import-Package: javax.servlet, org.apache.tuscany.sca.core;version="2.0.0",
org.apache.tuscany.sca.extensibility;version="2.0.0",
org.apache.tuscany.sca.implementation.spring;version="2.0.0",
- org.apache.tuscany.sca.implementation.spring.invocation;version="2.0.0",
+ org.apache.tuscany.sca.implementation.spring.context;version="2.0.0",
org.apache.tuscany.sca.provider;version="2.0.0",
org.apache.tuscany.sca.runtime;version="2.0.0",
org.springframework.beans;version="3.0.2.RELEASE",
diff --git a/sca-java-2.x/trunk/modules/implementation-spring-webapp/pom.xml b/sca-java-2.x/trunk/modules/implementation-spring-webapp/pom.xml index cfdce13108..081af3c80d 100644 --- a/sca-java-2.x/trunk/modules/implementation-spring-webapp/pom.xml +++ b/sca-java-2.x/trunk/modules/implementation-spring-webapp/pom.xml @@ -32,7 +32,7 @@ <dependency> <groupId>org.apache.tuscany.sca</groupId> - <artifactId>tuscany-implementation-spring</artifactId> + <artifactId>tuscany-implementation-spring-runtime</artifactId> <version>2.0-SNAPSHOT</version> </dependency> diff --git a/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/java/org/apache/tuscany/sca/implementation/spring/webapp/SpringWebApplicationContextAccessor.java b/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/java/org/apache/tuscany/sca/implementation/spring/webapp/SpringWebApplicationContextAccessor.java index 623a298b74..f95ba27242 100644 --- a/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/java/org/apache/tuscany/sca/implementation/spring/webapp/SpringWebApplicationContextAccessor.java +++ b/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/java/org/apache/tuscany/sca/implementation/spring/webapp/SpringWebApplicationContextAccessor.java @@ -26,7 +26,7 @@ import javax.servlet.ServletContext; import org.apache.tuscany.sca.core.ExtensionPointRegistry; import org.apache.tuscany.sca.core.LifeCycleListener; import org.apache.tuscany.sca.host.http.ExtensibleServletHost; -import org.apache.tuscany.sca.implementation.spring.invocation.SpringApplicationContextAccessor; +import org.apache.tuscany.sca.implementation.spring.context.SpringApplicationContextAccessor; import org.springframework.context.ApplicationContext; import org.springframework.web.context.support.WebApplicationContextUtils; @@ -62,12 +62,12 @@ public class SpringWebApplicationContextAccessor implements SpringApplicationCon parentApplicationContext = null; } - public Object getParentApplicationContext() { + public ApplicationContext getParentApplicationContext() { return parentApplicationContext; } - public void setParentApplicationContext(Object parentApplicationContext) { - this.parentApplicationContext = (ApplicationContext) parentApplicationContext; + public void setParentApplicationContext(ApplicationContext parentApplicationContext) { + this.parentApplicationContext = parentApplicationContext; } } diff --git a/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.spring.provider.SpringApplicationContextAccessor b/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.spring.context.SpringApplicationContextAccessor index 506b02c782..506b02c782 100644 --- a/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.spring.provider.SpringApplicationContextAccessor +++ b/sca-java-2.x/trunk/modules/implementation-spring-webapp/src/main/resources/META-INF/services/org.apache.tuscany.sca.implementation.spring.context.SpringApplicationContextAccessor |