<?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="org.springframework.aop.interceptor.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="org.springframework.aop.framework.CountingBeforeAdvice"/>

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