diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-04 10:23:51 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-04 10:23:51 +0000 |
commit | 593f4975e1da0ad700dd6f05c3e51e0e5c40fbff (patch) | |
tree | 3f751139b0374d7c4a626f88d5cd302719ce241b /sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca | |
parent | 674fdffad3b949ba94a8dc72d7b73cc41d8174d4 (diff) |
Further corrects to OSGi imports. The python impl depends on some impl exports.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1004189 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca')
-rw-r--r-- | sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java b/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java index 388df1d210..6e5a70f734 100644 --- a/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java +++ b/sca-java-2.x/trunk/modules/implementation-python/src/test/java/org/apache/tuscany/sca/implementation/python/ReadWriteTestCase.java @@ -31,6 +31,7 @@ import javax.xml.stream.XMLOutputFactory; import org.apache.tuscany.sca.assembly.Composite; import org.apache.tuscany.sca.contribution.Contribution; +import org.apache.tuscany.sca.contribution.ContributionFactory; import org.apache.tuscany.sca.contribution.DefaultContributionFactory; import org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint; import org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor; @@ -57,7 +58,8 @@ public class ReadWriteTestCase { @BeforeClass public static void setUp() throws Exception { final DefaultExtensionPointRegistry ep = new DefaultExtensionPointRegistry(); - final Contribution contrib = new DefaultContributionFactory().createContribution(); + final ContributionFactory contribFactory = new DefaultContributionFactory(); + final Contribution contrib = contribFactory.createContribution(); contrib.setLocation(ReadWriteTestCase.class.getProtectionDomain().getCodeSource().getLocation().toString()); final Monitor mon = new DefaultMonitorFactory().createMonitor(); ctx = new ProcessorContext(contrib, mon); |