From bd126f649a92dd53cd3b3ccef5029ab273436291 Mon Sep 17 00:00:00 2001 From: rfeng Date: Thu, 18 Sep 2008 23:21:17 +0000 Subject: 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 --- .../sca/implementation/web/runtime/ComponentContextProxy.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'java/sca/modules/implementation-web-runtime/src') 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 Collection> getServiceReferences(Class businessInterface, String referenceName) { + return getComponentContext().getServiceReferences(businessInterface, referenceName); + } + + public Collection getServices(Class businessInterface, String referenceName) { + return getComponentContext().getServices(businessInterface, referenceName); + } + } -- cgit v1.2.3