Author: rfeng
Date: Thu Sep 18 16:21:17 2008
New Revision: 696848

URL: http://svn.apache.org/viewvc?rev=696848&view=rev
Log:
Fix the compliation error by adding missing methods

Modified:
    
tuscany/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java

Modified: 
tuscany/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java?rev=696848&r1=696847&r2=696848&view=diff
==============================================================================
--- 
tuscany/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
 (original)
+++ 
tuscany/java/sca/modules/implementation-web-runtime/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
 Thu Sep 18 16:21:17 2008
@@ -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 @@
         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);
+    }
+
 }


Reply via email to