summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-25 13:48:17 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-25 13:48:17 +0000
commit57f2ee3715e864547b8447e0b6cccf954800d009 (patch)
treea89449c86699199fb5c6e753b0c3b8adda32af5b /sca-java-2.x/trunk/modules/shell/src/main/java/org/apache
parent0738fa17ec99c254741a77ffab3cf5a85aecaaab (diff)
Rename InstalledContribution to ContributionDescription
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1127531 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/shell/src/main/java/org/apache')
-rw-r--r--sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
index 5fccf32c49..cec7194129 100644
--- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
+++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
@@ -55,7 +55,7 @@ import org.apache.tuscany.sca.impl.NodeImpl;
import org.apache.tuscany.sca.monitor.ValidationException;
import org.apache.tuscany.sca.runtime.ActivationException;
import org.apache.tuscany.sca.runtime.DomainRegistry;
-import org.apache.tuscany.sca.runtime.InstalledContribution;
+import org.apache.tuscany.sca.runtime.ContributionDescription;
import org.apache.tuscany.sca.runtime.Version;
import org.apache.tuscany.sca.shell.jline.JLine;
import org.oasisopen.sca.NoSuchServiceException;
@@ -227,36 +227,36 @@ public class Shell {
}
if (toks.size() > 1) {
String curi = toks.get(1);
- InstalledContribution ic = getNode().getInstalledContribution(toks.get(1));
- if (ic == null) {
+ ContributionDescription cd = getNode().getInstalledContribution(toks.get(1));
+ if (cd == null) {
out.println("Contribution " + curi + " not installed");
} else {
out.println(curi);
- out.println(" URL: " + ic.getURL());
+ out.println(" URL: " + cd.getURL());
List<String> ims = new ArrayList<String>();
- for (String im : ic.getJavaImports()) {
+ for (String im : cd.getJavaImports()) {
ims.add(im);
}
- for (String im : ic.getNamespaceImports()) {
+ for (String im : cd.getNamespaceImports()) {
ims.add(im);
}
out.println(" Imports: " + ims);
List<String> es = new ArrayList<String>();
- for (String e : ic.getJavaExports()) {
+ for (String e : cd.getJavaExports()) {
es.add(e);
}
- for (String e : ic.getNamespaceExports()) {
+ for (String e : cd.getNamespaceExports()) {
es.add(e);
}
out.println(" Exports: " + es);
List<String> ds = new ArrayList<String>();
- for (String cp : ic.getDeployables()) {
+ for (String cp : cd.getDeployables()) {
ds.add(cp);
}
- for (String cp : ic.getAdditionalDeployables().keySet()) {
+ for (String cp : cd.getAdditionalDeployables().keySet()) {
ds.add(cp);
}
out.println(" Deployables: " + ds);