From 19c8471c3cfea3dbc777fd233fb4626caad3680f Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 8 Mar 2010 03:28:35 +0000 Subject: Update to Hazelcast 1.8.1 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920181 13f79535-47bb-0310-9956-ffa450edef68 --- sca-java-2.x/trunk/modules/endpoint-hazelcast/pom.xml | 2 +- .../tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java | 2 +- .../org/apache/tuscany/sca/endpoint/hazelcast/RegistryTestCase.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sca-java-2.x/trunk/modules/endpoint-hazelcast/pom.xml b/sca-java-2.x/trunk/modules/endpoint-hazelcast/pom.xml index db2011a387..dee5fab2d1 100644 --- a/sca-java-2.x/trunk/modules/endpoint-hazelcast/pom.xml +++ b/sca-java-2.x/trunk/modules/endpoint-hazelcast/pom.xml @@ -32,7 +32,7 @@ com.hazelcast hazelcast - 1.8 + 1.8.1 org.apache.tuscany.sca diff --git a/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java b/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java index c91189fb44..50a7ea03a4 100644 --- a/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java +++ b/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java @@ -116,7 +116,7 @@ public class HazelcastEndpointRegistry extends BaseEndpointRegistry implements E // config.getMapConfig(configURI.getDomainName() + "/Endpoints").setBackupCount(0); if (configURI.getRemotes().size() > 0) { - TcpIpConfig tcpconfig = config.getNetworkConfig().getJoin().getJoinMembers(); + TcpIpConfig tcpconfig = config.getNetworkConfig().getJoin().getTcpIpConfig(); tcpconfig.setEnabled(true); List
lsMembers = tcpconfig.getAddresses(); lsMembers.clear(); diff --git a/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/test/java/org/apache/tuscany/sca/endpoint/hazelcast/RegistryTestCase.java b/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/test/java/org/apache/tuscany/sca/endpoint/hazelcast/RegistryTestCase.java index c4021f3d4f..edfe186667 100644 --- a/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/test/java/org/apache/tuscany/sca/endpoint/hazelcast/RegistryTestCase.java +++ b/sca-java-2.x/trunk/modules/endpoint-hazelcast/src/test/java/org/apache/tuscany/sca/endpoint/hazelcast/RegistryTestCase.java @@ -126,7 +126,7 @@ public class RegistryTestCase { } if (connectPorts.length > 0) { - TcpIpConfig tcpconfig = config.getNetworkConfig().getJoin().getJoinMembers(); + TcpIpConfig tcpconfig = config.getNetworkConfig().getJoin().getTcpIpConfig(); tcpconfig.setEnabled(true); List
lsMembers = tcpconfig.getAddresses(); -- cgit v1.2.3