Class HazelcastClientBeanDefinitionParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
com.hazelcast.spring.AbstractHazelcastBeanDefinitionParser
com.hazelcast.spring.HazelcastClientBeanDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class HazelcastClientBeanDefinitionParser extends AbstractHazelcastBeanDefinitionParser
BeanDefinitionParser for Hazelcast Client Configuration.

Sample Spring XML for Hazelcast Client:


   <hz:client id="client">
      <hz:cluster-name>${cluster.name}</hz:cluster-name>
      <hz:network
          connection-timeout="1000"
          redo-operation="true">
              <hz:cluster-routing mode="ALL_MEMBERS"/>
              <hz:member>10.10.1.2:5701</hz:member>
              <hz:member>10.10.1.3:5701</hz:member>
      </hz:network>
   </hz:client>
 
  • Constructor Details

    • HazelcastClientBeanDefinitionParser

      public HazelcastClientBeanDefinitionParser()
  • Method Details

    • parseInternal

      protected org.springframework.beans.factory.support.AbstractBeanDefinition parseInternal(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
      Specified by:
      parseInternal in class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser