SGF-383 - Refactor and make RegionFactoryBean and RegionLookupFactoryBean abstract.

This commit is contained in:
John Blum
2015-03-13 11:58:14 -07:00
parent 17c9358547
commit 42eefab61c
11 changed files with 67 additions and 27 deletions

View File

@@ -17,7 +17,7 @@
<gfe:cache properties-ref="gemfireProperties"/>
<bean id="replicate-persistent-region" class="org.springframework.data.gemfire.RegionFactoryBean">
<bean id="replicate-persistent-region" class="org.springframework.data.gemfire.RegionFactoryBeanTest$TestRegionFactoryBean">
<property name="cache" ref="gemfireCache"/>
<property name="dataPolicy" value="REPLICATE_PERSISTENT"/>
</bean>

View File

@@ -20,8 +20,8 @@
<bean class="org.springframework.data.gemfire.test.GemfireTestBeanPostProcessor"/>
<bean id="Example" class="org.springframework.data.gemfire.RegionFactoryBean" p:cache-ref="gemfireCache"
p:persistent="true">
<bean id="Example" class="org.springframework.data.gemfire.config.InvalidRegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
p:cache-ref="gemfireCache" p:persistent="true">
<property name="attributes">
<bean class="org.springframework.data.gemfire.RegionAttributesFactoryBean" p:dataPolicy="REPLICATE"/>
</property>

View File

@@ -18,7 +18,8 @@
<gfe:cache properties-ref="gemfireProperties"/>
<bean id="Example" class="org.springframework.data.gemfire.RegionFactoryBean" p:cache-ref="gemfireCache">
<bean id="Example" class="org.springframework.data.gemfire.config.RegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
p:cache-ref="gemfireCache">
<property name="attributes">
<bean class="org.springframework.data.gemfire.RegionAttributesFactoryBean"
p:dataPolicy="PERSISTENT_PARTITION"
@@ -31,8 +32,8 @@
</property>
</bean>
<bean id="AnotherExample" class="org.springframework.data.gemfire.RegionFactoryBean" p:cache-ref="gemfireCache"
p:dataPolicy="PERSISTENT_PARTITION" p:persistent="true">
<bean id="AnotherExample" class="org.springframework.data.gemfire.config.RegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
p:cache-ref="gemfireCache" p:dataPolicy="PERSISTENT_PARTITION" p:persistent="true">
<property name="attributes">
<bean class="org.springframework.data.gemfire.RegionAttributesFactoryBean" p:dataPolicy="PARTITION">
<property name="partitionAttributes">