SGF-354 - SimpleGemfireRepository.deleteAll that supports transactions.

This commit is contained in:
John Blum
2014-12-10 21:32:35 -08:00
parent 2166f9ea6c
commit cf99650add
4 changed files with 366 additions and 14 deletions

View File

@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:gfe="http://www.springframework.org/schema/gemfire"
xmlns:p="http://www.springframework.org/schema/p"
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/context http://www.springframework.org/schema/context/spring-context.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">SimpleGemfireRepositoryTransactionalTest</prop>
<prop key="mcast-port">0</prop>
<prop key="log-level">warning</prop>
</util:properties>
<gfe:cache properties-ref="gemfireProperties"/>
<gfe:replicated-region id="Customers" persistent="false" scope="distributed-ack" key-constraint="java.lang.Long"
value-constraint="org.springframework.data.gemfire.repository.sample.Customer"/>
<context:annotation-config/>
<gfe:transaction-manager/>
<bean id="customerService" class="org.springframework.data.gemfire.repository.support.SimpleGemfireRepositoryTransactionalIntegrationTest$CustomerService"/>
<bean id="customersTemplate" class="org.springframework.data.gemfire.GemfireTemplate" p:region-ref="Customers"/>
</beans>