tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1373507 - /tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java
Date Wed, 15 Aug 2012 16:23:03 GMT
Author: antelder
Date: Wed Aug 15 16:23:03 2012
New Revision: 1373507

URL: http://svn.apache.org/viewvc?rev=1373507&view=rev
Log:
Add getExtensionPointRegistry to interface to avoid having to cast to impl

Modified:
    tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java

Modified: tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java?rev=1373507&r1=1373506&r2=1373507&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java
Wed Aug 15 16:23:03 2012
@@ -19,12 +19,13 @@
 
 package org.apache.tuscany.sca.runtime;
 
+import org.apache.tuscany.sca.core.ExtensionPointRegistry;
 import org.oasisopen.sca.ComponentContext;
 
 public interface TuscanyComponentContext extends ComponentContext {
 
     @Override
-    <B> TuscanyServiceReference<B> getServiceReference(Class<B> businessInterface,

-                                                String referenceName)
-            throws IllegalArgumentException;
+    <B> TuscanyServiceReference<B> getServiceReference(Class<B> businessInterface,
String referenceName) throws IllegalArgumentException;
+
+    ExtensionPointRegistry getExtensionPointRegistry();
 }



Mime
View raw message