diff options
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();
}
}
+
}
|