<?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.
	$Id: throwsAdvice.xml,v 1.6 2006-08-20 19:08:40 jhoeller Exp $
-->

<beans>

	<!-- Simple target -->
	<bean id="target" class="org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests$Echo">	
	</bean>
	
	<bean id="nopInterceptor" class="org.springframework.aop.interceptor.NopInterceptor">
	</bean>
	
	<bean id="countingBeforeAdvice"
		class="org.springframework.aop.framework.CountingBeforeAdvice"
	/>
	
	<bean id="throwsAdvice" 
		class="org.springframework.aop.framework.adapter.ThrowsAdviceInterceptorTests$MyThrowsHandler">	
	</bean>
	

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