You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/05/20 14:05:40 UTC

svn commit: r946603 - in /tuscany/sca-java-2.x/contrib/modules/section10: pom.xml src/main/java/org/apache/tuscany/sca/something/Section10.java

Author: antelder
Date: Thu May 20 12:05:40 2010
New Revision: 946603

URL: http://svn.apache.org/viewvc?rev=946603&view=rev
Log:
Add a getSCACLientFactory method

Modified:
    tuscany/sca-java-2.x/contrib/modules/section10/pom.xml
    tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java

Modified: tuscany/sca-java-2.x/contrib/modules/section10/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/contrib/modules/section10/pom.xml?rev=946603&r1=946602&r2=946603&view=diff
==============================================================================
--- tuscany/sca-java-2.x/contrib/modules/section10/pom.xml (original)
+++ tuscany/sca-java-2.x/contrib/modules/section10/pom.xml Thu May 20 12:05:40 2010
@@ -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>

Modified: tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java?rev=946603&r1=946602&r2=946603&view=diff
==============================================================================
--- tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java (original)
+++ tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/Section10.java Thu May 20 12:05:40 2010
@@ -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();
 }