summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-12-13 09:18:35 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-12-13 09:18:35 +0000
commita1c1199a2913d964e51390ffec8db8eaf1a28044 (patch)
treefe096046d3ed197e7a7763f7c8565df8575ab78e /sca-java-2.x/trunk/modules
parentc405cdf7ba36ed485d38395011b36cb882f94d27 (diff)
Update to match the new Tuscany ServiceReference interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1213620 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r--sca-java-2.x/trunk/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java b/sca-java-2.x/trunk/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
index 64622ee76c..76fdf4af24 100644
--- a/sca-java-2.x/trunk/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
+++ b/sca-java-2.x/trunk/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
@@ -22,7 +22,8 @@ package org.apache.tuscany.sca.implementation.web.runtime;
import java.util.Collection;
import org.apache.tuscany.sca.runtime.RuntimeComponent;
-import org.oasisopen.sca.ComponentContext;
+import org.apache.tuscany.sca.runtime.TuscanyComponentContext;
+import org.apache.tuscany.sca.runtime.TuscanyServiceReference;
import org.oasisopen.sca.RequestContext;
import org.oasisopen.sca.ServiceReference;
@@ -30,7 +31,7 @@ import org.oasisopen.sca.ServiceReference;
* Proxy ComponentContext wrappering a RuntimeComponent as the
* RuntimeComponent ComponentContext has not been created till later
*/
-public class ComponentContextProxy implements ComponentContext {
+public class ComponentContextProxy implements TuscanyComponentContext {
protected RuntimeComponent runtimeComponent;
@@ -38,7 +39,7 @@ public class ComponentContextProxy implements ComponentContext {
this.runtimeComponent = runtimeComponent;
}
- protected ComponentContext getComponentContext() {
+ protected TuscanyComponentContext getComponentContext() {
return runtimeComponent.getComponentContext();
}
@@ -66,7 +67,7 @@ public class ComponentContextProxy implements ComponentContext {
return getComponentContext().getService(businessInterface, referenceName);
}
- public <B> ServiceReference<B> getServiceReference(Class<B> businessInterface, String referenceName) {
+ public <B> TuscanyServiceReference<B> getServiceReference(Class<B> businessInterface, String referenceName) {
return getComponentContext().getServiceReference(businessInterface, referenceName);
}