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

<beans>

	<bean id="debugInterceptor" class="test.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.beans.TestBean" autowire="byType"/>
		</property>
		<property name="interceptorNames" value="debugInterceptor"/>
	</bean>

</beans>
