public class HazelcastFailoverClientBeanDefinitionParser extends AbstractHazelcastBeanDefinitionParser
<hz:client-failover id="blueGreenClient" try-count="5">
<hz:client>
<hz:cluster-name>${cluster.name}</hz:cluster-name>
<hz:network>
<hz:member>127.0.0.1:5700</hz:member>
<hz:member>127.0.0.1:5701</hz:member>
</hz:network>
</hz:client>
<hz:client>
<hz:cluster-name>alternativeClusterName</hz:cluster-name>
<hz:network>
<hz:member>127.0.0.1:5702</hz:member>
<hz:member>127.0.0.1:5703</hz:member>
</hz:network>
</hz:client>
</hz:client-failover>
AbstractHazelcastBeanDefinitionParser.SpringXmlBuilderHelper
Constructor and Description |
---|
HazelcastFailoverClientBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
parseInternal(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext) |
public HazelcastFailoverClientBeanDefinitionParser()
protected org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
parseInternal
in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
Copyright © 2021 Hazelcast, Inc.. All rights reserved.