<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:p="http://www.springframework.org/schema/p"
	xmlns:util="http://www.springframework.org/schema/util"
	xmlns:gfe="http://www.springframework.org/schema/geode"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
		http://www.springframework.org/schema/geode http://www.springframework.org/schema/geode/spring-geode.xsd">

	<!-- GemFire cache bean -->
	<gfe:cache properties-ref="props" />
	<util:properties id="props" location="cache.properties"/>

	<!-- GemFire transaction manager -->
	<gfe:transaction-manager />

	<!-- hello world region -->
	<!-- since no name is given, the region will be named after the bean -->
	<gfe:replicated-region id="myWorld">
		<gfe:cache-listener>
			<bean class="org.springframework.data.gemfire.samples.helloworld.CacheLogger"/>
		</gfe:cache-listener>
	</gfe:replicated-region>

	<bean id="gemfireTemplate" class="org.springframework.data.gemfire.GemfireTemplate" p:region-ref="myWorld"/>

</beans>
