<?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:context="http://www.springframework.org/schema/context"
		xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
				http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">

	<import resource="import1.xml"/>

	<import resource="classpath:org/springframework/context/support/test/*/import2.xml"/>

  <context:property-override location="org/springframework/context/support/override.properties"/>

	<bean id="messageSource" class="org.springframework.context.support.StaticMessageSource"/>

	<bean class="org.springframework.context.support.FactoryBeanAndApplicationListener"/>

	<bean name="service" class="org.springframework.context.support.Service" dependency-check="objects">
		<property name="resources" value="/org/springframework/context/support/test/context*.xml"/>
  </bean>

	<bean name="service2" class="org.springframework.context.support.Service" autowire="byName" depends-on="service">
		<property name="resources" value="/org/springframework/context/support/test/context*.xml"/>
  </bean>

	<bean name="autowiredService" class="org.springframework.context.support.AutowiredService" autowire="byName"/>

	<bean name="autowiredService2" class="org.springframework.context.support.AutowiredService" autowire="byType"/>

	<bean name="transactionManager" class="org.springframework.transaction.CallCountingTransactionManager"/>

	<bean name="wrappedAssemblerOne" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
		<property name="transactionManager" ref="transactionManager"/>
		<property name="target" ref="assemblerOne"/>
		<property name="proxyTargetClass" value="xxx"/>
		<property name="transactionAttributes">
			<props>
				<prop key="test">PROPAGATION_REQUIRED</prop>
			</props>
		</property>
	</bean>

	<bean name="wrappedAssemblerTwo" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
    <property name="transactionManager" ref="transactionManager"/>
    <property name="target" ref="assemblerTwo"/>
    <property name="proxyTargetClass" value="yyy"/>
		<property name="transactionAttributes">
			<props>
				<prop key="test">PROPAGATION_REQUIRED</prop>
			</props>
		</property>
	</bean>

</beans>
