tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1103660 - /tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java
Date Mon, 16 May 2011 09:29:09 GMT
Author: antelder
Date: Mon May 16 09:29:09 2011
New Revision: 1103660

URL: http://svn.apache.org/viewvc?rev=1103660&view=rev
Log:
Add info on imports to InstalledContribution

Modified:
    tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java

Modified: tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java?rev=1103660&r1=1103659&r2=1103660&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/core-spi/src/main/java/org/apache/tuscany/sca/runtime/InstalledContribution.java
Mon May 16 09:29:09 2011
@@ -36,10 +36,11 @@ public class InstalledContribution imple
     // 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 imple
     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 imple
     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



Mime
View raw message