From 6e31e44ea448548068f27b74be1a91fc76e3e8fd Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 12 Oct 2010 12:28:39 +0000 Subject: Set domain name for node as 9016 tests for the domain name git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1021759 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sca-java-2.x/trunk') diff --git a/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java b/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java index e7a161ae13..db16f85c37 100644 --- a/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/org/apache/tuscany/sca/otest/TuscanyRuntimeBridge.java +++ b/sca-java-2.x/trunk/testing/compliance-tests/java-caa/src/test/java/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; @@ -69,6 +71,11 @@ public class TuscanyRuntimeBridge implements RuntimeBridge { } // 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(); -- cgit v1.2.3