diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-08-15 16:23:03 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2012-08-15 16:23:03 +0000 |
commit | a3364cc3224d1def7c1726a2c94aadae2407b4f7 (patch) | |
tree | 885230de9eee8b4cd564123cca16b65273ae2c3f | |
parent | 5010de9fe0463ecef8db00ccb6229ec23d947b64 (diff) |
Add getExtensionPointRegistry to interface to avoid having to cast to impl
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1373507 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java index 5ff1ac984c..88a01e42b9 100644 --- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java +++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/TuscanyComponentContext.java @@ -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();
}
|