summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-16 09:29:09 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-16 09:29:09 +0000
commit5f25a15f1421b7a60c08d3892c786e70f8f04743 (patch)
tree4e1e32e9300b8244794f8754eada00dde8d7c6b3
parent8cad8b869c727ecdc38ae12f58430e6a198a0962 (diff)
Add info on imports to InstalledContribution
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1103660 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java
index b3d5863891..c71751b7e0 100644
--- a/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java
+++ b/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java
@@ -36,10 +36,11 @@ public class InstalledContribution implements Serializable {
// the URIs of the deployable composites within the contribution
private List<String> deployables = new ArrayList<String>();
- // TODO: Handle Imports in a more extensible way
+ // TODO: Handle Imports and Exports in a more extensible way
private List<String> javaExports = new ArrayList<String>();
private List<String> namespaceExports = new ArrayList<String>();
- private List<String> exports = new ArrayList<String>();
+ private List<String> javaImports = new ArrayList<String>();
+ private List<String> namespaceImports = new ArrayList<String>();
private String metaData;
private boolean overwriteMetaData;
@@ -67,9 +68,6 @@ public class InstalledContribution implements Serializable {
public List<String> getDeployables() {
return deployables;
}
- public List<String> getExports() {
- return exports;
- }
public void setDeployables(List<String> deployables) {
this.deployables = deployables;
}
@@ -97,6 +95,12 @@ public class InstalledContribution implements Serializable {
public List<String> getNamespaceExports() {
return namespaceExports;
}
+ public List<String> getJavaImports() {
+ return javaImports;
+ }
+ public List<String> getNamespaceImports() {
+ return namespaceImports;
+ }
/**
* Derives a URI for the contribution based on its URL