diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-05 09:23:07 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-05-05 09:23:07 +0000 |
commit | a69a96386fa80ed3e3a5f682f736217c10e1c208 (patch) | |
tree | 9aec557ed8279839593e12b29a0f7d495f0a6ce9 /sca-java-2.x/trunk | |
parent | b67e9651197b4cfb518166ee53ab3f650d3fcc50 (diff) |
Update to use uri format config
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@941217 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
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();
}
|