<?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">

<!--
	Tests for throws advice.
-->
<beans>
	
	<bean id="nopInterceptor" class="test.aop.NopInterceptor"/>

	<bean id="exposeInvocation" class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean">
		<property name="targetClass">
			<value>org.springframework.aop.interceptor.ExposeInvocationInterceptor</value>
		</property>
		<property name="targetField"><value>INSTANCE</value></property>
	</bean>
	
	<bean id="countingBeforeAdvice" class="test.aop.CountingBeforeAdvice"/>

	<bean id="proxy" class="org.springframework.aop.framework.ProxyFactoryBean">
		<property name="target">
			<bean class="org.springframework.aop.interceptor.InvocationCheckExposedInvocationTestBean" />
		</property>
		<property name="interceptorNames">
			<value>exposeInvocation,countingBeforeAdvice,nopInterceptor</value>
		</property>
	</bean>
	
</beans>		
