From 1bded9a4a318f5e5503b36a0a160bb907787e6c9 Mon Sep 17 00:00:00 2001 From: antelder Date: Sat, 5 Jun 2010 08:01:39 +0000 Subject: 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 --- .../src/main/java/org/apache/tuscany/sca/something/Section10.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sca-java-2.x/trunk') 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 getDeployedCompostes(String contributionURI); List getInstalledContributions(); + InstalledContribution getInstalledContribution(String uri); Deployer getDeployer(); + AssemblyFactory getAssemblyFactory(); } -- cgit v1.2.3