<?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.Echo"/>	
	
	<bean id="nopInterceptor" class="test.interceptor.NopInterceptor"/>
	
	<bean id="countingBeforeAdvice" class="test.advice.CountingBeforeAdvice" />
	
	<bean id="throwsAdvice" class="test.advice.MyThrowsHandler"/>	

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