diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-12 12:20:01 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-12 12:20:01 +0000 |
commit | 4aa34520512ece1631d4cfc62ab10ec1a54ce9c2 (patch) | |
tree | 0c03eff713f139a7572fbd7a5d60005a247c67f2 /otest | |
parent | 1c66b05e5ff71326f91e3ca5fd02371ddf4f1741 (diff) |
Set domain name for node as 9016 tests for this domain name
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1021755 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'otest')
-rw-r--r-- | otest/newlayout/tuscany-java-caa-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/otest/newlayout/tuscany-java-caa-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java b/otest/newlayout/tuscany-java-caa-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java index 139e8b31fd..202172adfb 100644 --- a/otest/newlayout/tuscany-java-caa-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java +++ b/otest/newlayout/tuscany-java-caa-test-runner/src/test/tjava/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java @@ -30,6 +30,8 @@ import java.util.Properties; import org.apache.tuscany.sca.node.Contribution; import org.apache.tuscany.sca.node.Node; import org.apache.tuscany.sca.node.NodeFactory; +import org.apache.tuscany.sca.node.configuration.NodeConfiguration; +import org.apache.tuscany.sca.node.impl.NodeImpl; import testClient.TestException_Exception; import client.RuntimeBridge; @@ -67,8 +69,13 @@ public class TuscanyRuntimeBridge implements RuntimeBridge { for (int i = 0; i < contributions.length; i++) { contributions[i] = new Contribution(contributionNames[i], contributionURIs[i]); } // end for - + node = launcher.createNode(compositeName, contributions); + + // Set the domain URI for the node as JCA_9016 tests for this domain name + NodeConfiguration nodeConfiguration = ((NodeImpl)node).getConfiguration(); + nodeConfiguration.setDomainURI("http://Domain1"); + // Start the node node.start(); |