diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-05 08:01:39 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-06-05 08:01:39 +0000 |
commit | 1bded9a4a318f5e5503b36a0a160bb907787e6c9 (patch) | |
tree | f81b72b8fe3e45ec75e58f5b858aeee4f62f16f1 /sca-java-2.x/trunk | |
parent | 0a8fd1fcd9a848e18549f5c2dbc36513e9eb69e7 (diff) |
Add methods to get an installed contribution and to get the AssemblyFactory (which could then be used to create all the artifacts programatically).
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@951669 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java b/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java index 1eb7e48b76..af0fd888bb 100644 --- a/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java +++ b/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java @@ -25,12 +25,14 @@ import java.util.List; import javax.xml.namespace.QName; import javax.xml.stream.XMLStreamException; +import org.apache.tuscany.sca.assembly.AssemblyFactory; import org.apache.tuscany.sca.assembly.Composite; import org.apache.tuscany.sca.contribution.Contribution; import org.apache.tuscany.sca.contribution.processor.ContributionReadException; import org.apache.tuscany.sca.deployment.Deployer; import org.apache.tuscany.sca.monitor.ValidationException; import org.apache.tuscany.sca.runtime.ActivationException; +import org.apache.tuscany.sca.something.impl.InstalledContribution; import org.oasisopen.sca.NoSuchServiceException; public interface Section10 { @@ -231,5 +233,7 @@ public interface Section10 { List<String> getDeployedCompostes(String contributionURI); List<String> getInstalledContributions(); + InstalledContribution getInstalledContribution(String uri); Deployer getDeployer(); + AssemblyFactory getAssemblyFactory(); } |