summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-08 03:28:35 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-03-08 03:28:35 +0000
commit19c8471c3cfea3dbc777fd233fb4626caad3680f (patch)
tree637d44a26f4b85f177c6a04b13ca3c5990f1244f /sca-java-2.x/trunk
parent4e2cc58b65639ecd35a9eadc9cc26e6acfe33f69 (diff)
Update to Hazelcast 1.8.1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@920181 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-hazelcast/pom.xml2
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-hazelcast/src/main/java/org/apache/tuscany/sca/endpoint/hazelcast/HazelcastEndpointRegistry.java2
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-hazelcast/src/test/java/org/apache/tuscany/sca/endpoint/hazelcast/RegistryTestCase.java2
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 @@
<dependency>
<groupId>com.hazelcast</groupId>
<artifactId>hazelcast</artifactId>
- <version>1.8</version>
+ <version>1.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
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<Address> 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<Address> lsMembers = tcpconfig.getAddresses();