summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-12-10 18:03:44 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-12-10 18:03:44 +0000
commit60e12d713e971f596d6a25d4a7ee85a78ec9454e (patch)
tree37c4f11097301fe4de5e9526ed6d1a54098e695e /branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime
parent7fe8a63460dc8094f264489b540ddad94c8519b5 (diff)
TUSCANY-2732 - Separate out Tuscany extension to the component context from the OSOA component context
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@725361 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime')
-rw-r--r--branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java b/branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
index dba3f62d35..c4f39bded8 100644
--- a/branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
+++ b/branches/sca-java-1.x/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
@@ -21,6 +21,7 @@ package org.apache.tuscany.sca.implementation.web.runtime;
import java.util.Collection;
+import org.apache.tuscany.sca.api.ComponentContextExtension;
import org.apache.tuscany.sca.runtime.RuntimeComponent;
import org.osoa.sca.CallableReference;
import org.osoa.sca.ComponentContext;
@@ -77,11 +78,11 @@ public class ComponentContextProxy implements ComponentContext {
}
public <B> Collection<ServiceReference<B>> getServiceReferences(Class<B> businessInterface, String referenceName) {
- return getComponentContext().getServiceReferences(businessInterface, referenceName);
+ return ((ComponentContextExtension)getComponentContext()).getServiceReferences(businessInterface, referenceName);
}
public <B> Collection<B> getServices(Class<B> businessInterface, String referenceName) {
- return getComponentContext().getServices(businessInterface, referenceName);
+ return ((ComponentContextExtension)getComponentContext()).getServices(businessInterface, referenceName);
}
}