geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vamsic...@apache.org
Subject svn commit: r731900 - /geronimo/plugins/tuscany/trunk/geronimo-tuscany-implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
Date Tue, 06 Jan 2009 09:58:08 GMT
Author: vamsic007
Date: Tue Jan  6 01:58:05 2009
New Revision: 731900

URL: http://svn.apache.org/viewvc?rev=731900&view=rev
Log:
Changed to account for TUSCANY-2732: Separate Tuscany API extensions from OSOA API

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

Modified: geronimo/plugins/tuscany/trunk/geronimo-tuscany-implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
URL: http://svn.apache.org/viewvc/geronimo/plugins/tuscany/trunk/geronimo-tuscany-implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java?rev=731900&r1=731899&r2=731900&view=diff
==============================================================================
--- geronimo/plugins/tuscany/trunk/geronimo-tuscany-implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
(original)
+++ geronimo/plugins/tuscany/trunk/geronimo-tuscany-implementation-web/src/main/java/org/apache/tuscany/sca/implementation/web/runtime/ComponentContextProxy.java
Tue Jan  6 01:58:05 2009
@@ -21,6 +21,7 @@
 
 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 <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);
     }
 
 }



Mime
View raw message