<?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 class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
		<property name="beanNames" value="*"/>
		<property name="proxyTargetClass" value="true"/>
		<property name="interceptorNames" value="checker"/>
	</bean>

	<bean id="checker" class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
		<property name="advice">
			<bean class="org.springframework.aop.framework.autoproxy.NullChecker"/>
		</property>
		<property name="patterns">
			<bean class="org.springframework.beans.factory.config.ListFactoryBean">
				<property name="sourceList">
					<list>
						<value>.*\.set[a-zA-Z]*(.*)</value>
				 </list>
				</property>
			</bean>
		</property>
	</bean>

	<bean id="bean" class="org.springframework.beans.TestBean"/>

</beans>		
