You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2010/06/05 10:01:39 UTC

svn commit: r951669 - /tuscany/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java

Author: antelder
Date: Sat Jun  5 08:01:39 2010
New Revision: 951669

URL: http://svn.apache.org/viewvc?rev=951669&view=rev
Log:
Add methods to get an installed contribution and to get the AssemblyFactory (which could then be used to create all the artifacts programatically).

Modified:
    tuscany/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java

Modified: tuscany/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java?rev=951669&r1=951668&r2=951669&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java (original)
+++ tuscany/sca-java-2.x/trunk/modules/domain/src/main/java/org/apache/tuscany/sca/something/Section10.java Sat Jun  5 08:01:39 2010
@@ -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();
 }