diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-21 15:41:49 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-21 15:41:49 +0000 |
commit | 76c89fe52efd60d515ea1f6705b355f85db9d213 (patch) | |
tree | dc8dc72e303c5d087eb93392cb71fbc8d7aba34a /sca-java-2.x/contrib/modules/section10/src/main/java/org | |
parent | c7bb2fb49536351f89625be54d51e7bd03c6fa56 (diff) |
Remove comment about deployContribution/undeployContribution as you can do that with the existing methods and add getDeployedCompostes/getInstalledContributions to make that easier
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947047 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/contrib/modules/section10/src/main/java/org')
2 files changed, 13 insertions, 9 deletions
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 ea57d4d4a9..696a5f397d 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 @@ -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);
}
diff --git a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java index 3c838c6ae7..4130af2a94 100644 --- a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java +++ b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java @@ -219,6 +219,16 @@ public class Section10Impl implements Section10 { 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 Section10 { monitor.reset();
}
}
+
}
|