<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
<!--
<bean id="userdao" class="cn.com.ambow.spring.day3.aop2.UserDaoImpl">
</bean>
<bean id="beforeadvice" class="cn.com.ambow.spring.day3.aop2.BeforeAdvice">
</bean>
<bean id="dyuser" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces" value="cn.com.ambow.spring.day3.aop2.IUserDao"></property>
<property name="target" ref="userdao"></property>
<property name="interceptorNames">
<list>
<value>beforeadvice</value>
</list>
</property>
</bean>
-->
<bean id="userdao" class="com.fei.spring.day3.aop2.UserDaoImpl">
</bean>
<bean id="beforeadvice" class="com.fei.spring.day3.aop2.BeforeAdvice">
</bean>
<bean id="dyuser" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces" value="com.fei.spring.day3.aop2.IUserDao"/>
<property name="target" ref="userdao"/>
<property name="interceptorNames">
<list>
<value>beforeadvice</value>
</list>
</property>
</bean>
</beans> proxyInterfaces是什么意思?? interceptorNames是什么意思啊???
spring的配置文件究竟该怎样配置啊??