<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "https://www.springframework.org/dtd/spring-beans-2.0.dtd">

<beans>

	<bean id="debugInterceptor" class="org.springframework.tests.aop.interceptor.NopInterceptor"/>

	<bean id="testBean"  class="org.springframework.aop.framework.ProxyFactoryBean">
		<!-- Target is autowired, so can check type of parent without a guard -->
		<property name="target">
			<bean class="org.springframework.tests.sample.beans.TestBean" autowire="byType"/>
		</property>
		<property name="interceptorNames" value="debugInterceptor"/>
	</bean>

</beans>
