tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r947047 - in /tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something: Section10.java impl/Section10Impl.java
Date Fri, 21 May 2010 15:41:49 GMT
Author: antelder
Date: Fri May 21 15:41:49 2010
New Revision: 947047

URL: http://svn.apache.org/viewvc?rev=947047&view=rev
Log:
Remove comment about deployContribution/undeployContribution as you can do that with the existing
methods and add getDeployedCompostes/getInstalledContributions to make that easier

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

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=947047&r1=947046&r2=947047&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
Fri May 21 15:41:49 2010
@@ -218,13 +218,6 @@ public interface Section10 {
 
     /* do we also need these following ones that are mentioned only indirectly in the spec?
*/
     
-//    /**
-//     * Section "10.5.3 remove Contribution" talks about removing a "deployed" contribution
-//     * which really sounds like undeploy, does that contribution state then become installed
-//     * or does it get removed entirely? Either way it seems like you'd want to be able

-//     * to explicitly install/deploy/undeploy/uninstall a contribution 
-//     */
-//    void deployContribution(String contributionURI);
-//    void undeployContribution(String contributionURI);
-
+    List<String> getDeployedCompostes(String contributionURI);
+    List<String> getInstalledContributions(String contributionURI);
 }

Modified: tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java?rev=947047&r1=947046&r2=947047&view=diff
==============================================================================
--- tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java
(original)
+++ tuscany/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java
Fri May 21 15:41:49 2010
@@ -219,6 +219,16 @@ public class Section10Impl implements Se
         return "default";
     }
 
+    public List<String> getDeployedCompostes(String contributionURI) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public List<String> getInstalledContributions(String contributionURI) {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
     protected String getContributionUriForArtifact(String artifactURI) {
         String contributionURI = null;
         for (String uri : installedContributions.keySet()) {
@@ -340,4 +350,5 @@ public class Section10Impl implements Se
             monitor.reset();
         }
     }
+
 }



Mime
View raw message