public class HazelcastConfigBeanDefinitionParser extends AbstractHazelcastBeanDefinitionParser
Sample Spring XML for Hazelcast Config:
<hz:config>
<hz:map name="map1">
<hz:near-cache time-to-live-seconds="0" max-idle-seconds="60"
eviction-policy="LRU" max-size="5000" invalidate-on-change="true"/>
<hz:map-store enabled="true" class-name="com.foo.DummyStore"
write-delay-seconds="0"/>
</hz:map>
<hz:map name="map2">
<hz:map-store enabled="true" implementation="dummyMapStore"
write-delay-seconds="0"/>
</hz:map>
<bean id="dummyMapStore" class="com.foo.DummyStore" />
</hz:config>
AbstractHazelcastBeanDefinitionParser.SpringXmlBuilderHelper
Constructor and Description |
---|
HazelcastConfigBeanDefinitionParser() |
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.support.AbstractBeanDefinition |
parseInternal(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext) |
public 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 © 2018 Hazelcast, Inc.. All Rights Reserved.