<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:p="http://www.springframework.org/schema/p"
	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-2.0.xsd
		http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
		http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">

	<aop:config>
		<aop:pointcut id="transactional"
			expression="execution(* org.springframework.batch..RetryOperationsInterceptorTests.Service.doTansactional(..))" />
		<aop:advisor pointcut-ref="transactional"
			advice-ref="retryAdvice" order="-1"/>
		<aop:advisor pointcut-ref="transactional" advice-ref="txAdvice" order="0"/>
	</aop:config>

	<bean id="bean"
		class="org.springframework.batch.retry.interceptor.RetryOperationsInterceptorTests$ServiceImpl" />

	<bean id="retryAdvice"
		class="org.springframework.batch.retry.interceptor.RetryOperationsInterceptor"/>

	<tx:advice id="txAdvice" transaction-manager="transactionManager">
		<tx:attributes>
			<tx:method name="*" />
		</tx:attributes>
	</tx:advice>

	<bean id="transactionManager"
		class="org.springframework.batch.support.transaction.ResourcelessTransactionManager" />

</beans>
