From a69a96386fa80ed3e3a5f682f736217c10e1c208 Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 5 May 2010 09:23:07 +0000 Subject: Update to use uri format config git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@941217 13f79535-47bb-0310-9956-ffa450edef68 --- .../one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client') diff --git a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java index 5ca89f32f3..cf99c970db 100644 --- a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java +++ b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java @@ -40,13 +40,13 @@ import com.hazelcast.core.IMap; */ public class ClientTestCase{ - private static URI domainURI = URI.create("tuscany:OneNodeTestCase?listen=127.0.0.1:14829"); + private static String domainURI = "uri:OneNodeTestCase?bind=127.0.0.1:14829"; private static Node node; private static HazelcastClient client; @BeforeClass public static void setUpBeforeClass() throws Exception { - node = NodeFactory.getInstance().createNode(domainURI, "../helloworld-service/target/classes", "../helloworld-client/target/classes"); + node = NodeFactory.newInstance(domainURI).createNode((String)null, new String[]{"../helloworld-service/target/classes", "../helloworld-client/target/classes"}); node.start(); } -- cgit v1.2.3