Package com.hazelcast.spring
Class HazelcastFailoverClientBeanDefinitionParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
com.hazelcast.spring.AbstractHazelcastBeanDefinitionParser
com.hazelcast.spring.HazelcastFailoverClientBeanDefinitionParser
- All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser
public class HazelcastFailoverClientBeanDefinitionParser
extends AbstractHazelcastBeanDefinitionParser
BeanDefinitionParser for Hazelcast Client Configuration.
<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>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hazelcast.spring.AbstractHazelcastBeanDefinitionParser
AbstractHazelcastBeanDefinitionParser.SpringXmlBuilderHelper
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.beans.factory.support.AbstractBeanDefinition
parseInternal
(Element element, org.springframework.beans.factory.xml.ParserContext parserContext) Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
HazelcastFailoverClientBeanDefinitionParser
public HazelcastFailoverClientBeanDefinitionParser()
-
-
Method Details
-
parseInternal
protected org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext) - Specified by:
parseInternal
in classorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-