summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/implementation-web-runtime
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-09-18 23:21:17 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-09-18 23:21:17 +0000
commitbd126f649a92dd53cd3b3ccef5029ab273436291 (patch)
treee66f93c8aa40416168233796cf3f83535e6553b6 /java/sca/modules/implementation-web-runtime
parent6d4a8d251b9e87720bda9efd7bc1c83185ac3068 (diff)
Fix the compliation error by adding missing methods
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696848 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/implementation-web-runtime')
-rw-r--r--java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java b/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
index 59afe23fa4..dba3f62d35 100644
--- a/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
+++ b/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
@@ -19,6 +19,8 @@
package org.apache.tuscany.sca.implementation.web.runtime;
+import java.util.Collection;
+
import org.apache.tuscany.sca.runtime.RuntimeComponent;
import org.osoa.sca.CallableReference;
import org.osoa.sca.ComponentContext;
@@ -74,4 +76,12 @@ public class ComponentContextProxy implements ComponentContext {
return getComponentContext().getURI();
}
+ public <B> Collection<ServiceReference<B>> getServiceReferences(Class<B> businessInterface, String referenceName) {
+ return getComponentContext().getServiceReferences(businessInterface, referenceName);
+ }
+
+ public <B> Collection<B> getServices(Class<B> businessInterface, String referenceName) {
+ return getComponentContext().getServices(businessInterface, referenceName);
+ }
+
}