diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/contrib/modules/section10/pom.xml | 6 | ||||
-rw-r--r-- | sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/sca-java-2.x/contrib/modules/section10/pom.xml b/sca-java-2.x/contrib/modules/section10/pom.xml index bc2097f4ab..7393da5dde 100644 --- a/sca-java-2.x/contrib/modules/section10/pom.xml +++ b/sca-java-2.x/contrib/modules/section10/pom.xml @@ -29,7 +29,11 @@ <name>Apache Tuscany SCA section10</name>
<dependencies>
-
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca-api</artifactId>
+ <version>2.0-SNAPSHOT</version>
+ </dependency>
</dependencies>
</project>
diff --git a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java index 009a9621fa..625918646e 100644 --- a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java +++ b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java @@ -24,6 +24,7 @@ import java.util.List; import javax.xml.namespace.QName;
+import org.oasisopen.sca.client.SCAClientFactory;
import org.w3c.dom.Document;
public interface Section10 {
@@ -215,12 +216,15 @@ public interface Section10 { */
void deployContribution(String contributionURI);
void undeployContribution(String contributionURI);
-
/**
* Probably want to be able to stop it all at once so a method called stop or shutdown or destroy
* though i guess it could be argued that this method may be somewhere else
*/
void shutdown();
-
+
+ /**
+ * Would also be convenient to get an SCACLientFactory from this so you can easily get service proxys
+ */
+ SCAClientFactory getSCAClientFactory();
}
|