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

	<util:properties id="gemfireProperties">
		<prop key="name">RegionWithSubRegionBeanDefinitionHashCodeTest</prop>
		<prop key="mcast-port">0</prop>
		<prop key="log-level">warning</prop>
	</util:properties>

	<gfe:cache properties-ref="gemfireProperties"/>

	<!-- NOTE non-parent Regions do not cause an infinite loop when calling hashCode on the BeanDefinition -->
	<gfe:replicated-region id="NON_PARENT"/>

	<!--
	  NOTE Regions with SubRegions cause an infinite loop to occur when calling hashCode on the parent Region's
	  BeanDefinition, which is the subject of JIRA issue SGF-178 (https://jira.springsource.org/browse/SGF-178).
	-->
	<gfe:replicated-region id="PARENT">
		<gfe:replicated-region name="CHILD"/>
	</gfe:replicated-region>

</beans>
