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

	<!-- Simple target -->
	<bean id="test" class="org.springframework.beans.TestBean">	
		<property name="name"><value>custom</value></property>
		<property name="age"><value>666</value></property>
	</bean>	

	
	<bean id="debugInterceptor" class="test.interceptor.NopInterceptor">
	</bean>
	
	<bean id="frozen" 
			class="org.springframework.aop.framework.ProxyFactoryBean"
	>	
		<property name="proxyInterfaces"><value>org.springframework.beans.ITestBean</value></property>		
		
		<property name="target"><ref local="test"/></property>	
		<property name="interceptorNames"><value>debugInterceptor</value></property>		
		<property name="frozen"><value>true</value></property>
		<property name="optimize"><value>true</value></property>
		
	</bean>

</beans>
