diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/core-spi/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java | 14 |
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
|