diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-23 09:07:00 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-23 09:07:00 +0000 |
commit | bfc20f0713455f2e08e28bcea825b4f792d48e58 (patch) | |
tree | e37a162a761480a1ad64b7006022b10b3b9f8a0c /sca-java-2.x/contrib/modules/section10/src/main/java | |
parent | 7c5596a8329d8b626814908e6ba5b10332fe6640 (diff) |
Keep track of the default deployables
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947386 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/contrib/modules/section10/src/main/java')
-rw-r--r-- | sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/InstalledContribution.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/InstalledContribution.java b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/InstalledContribution.java index 3fbad6091c..c664415c0f 100644 --- a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/InstalledContribution.java +++ b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/InstalledContribution.java @@ -22,6 +22,7 @@ package org.apache.tuscany.sca.something.impl; import java.util.ArrayList;
import java.util.List;
+import org.apache.tuscany.sca.assembly.Composite;
import org.apache.tuscany.sca.contribution.Contribution;
public class InstalledContribution {
@@ -31,12 +32,14 @@ public class InstalledContribution { private String uri;
private String url;
private Contribution contribution;
+ private List<Composite> defaultDeployables = new ArrayList<Composite>();
private List<DeployedComposite> deployedComposites = new ArrayList<DeployedComposite>();
public InstalledContribution(String uri, String url, Contribution contribution) {
this.uri = uri;
this.url = url;
this.contribution = contribution;
+ this.defaultDeployables = contribution.getDeployables();
}
public Contribution getContribution() {
return contribution;
@@ -50,6 +53,9 @@ public class InstalledContribution { public String getURL() {
return url;
}
+ public List<Composite> getDefaultDeployables() {
+ return defaultDeployables;
+ }
public List<DeployedComposite> getDeployedComposites() {
return deployedComposites;
}
|