From 5f25a15f1421b7a60c08d3892c786e70f8f04743 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 16 May 2011 09:29:09 +0000 Subject: Add info on imports to InstalledContribution git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1103660 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/tuscany/sca/runtime/InstalledContribution.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'sca-java-2.x/trunk/modules/core-spi/src') 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 deployables = new ArrayList(); - // TODO: Handle Imports in a more extensible way + // TODO: Handle Imports and Exports in a more extensible way private List javaExports = new ArrayList(); private List namespaceExports = new ArrayList(); - private List exports = new ArrayList(); + private List javaImports = new ArrayList(); + private List namespaceImports = new ArrayList(); private String metaData; private boolean overwriteMetaData; @@ -67,9 +68,6 @@ public class InstalledContribution implements Serializable { public List getDeployables() { return deployables; } - public List getExports() { - return exports; - } public void setDeployables(List deployables) { this.deployables = deployables; } @@ -97,6 +95,12 @@ public class InstalledContribution implements Serializable { public List getNamespaceExports() { return namespaceExports; } + public List getJavaImports() { + return javaImports; + } + public List getNamespaceImports() { + return namespaceImports; + } /** * Derives a URI for the contribution based on its URL -- cgit v1.2.3