81,091
社区成员
发帖
与我相关
我的任务
分享
<bean id="registerController" class="com.ypl.RegisterController">
<property name="dao">
<ref bean="daoProxyFactory" />
</property>
<property name="formView">
<value>register</value>
</property>
<property name="validator">
<bean class="com.ypl.ModifyMemberValidate" />
</property>
</bean>
<bean id="daoProxyFactory"
class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
<property name="proxyTargetClass" value="true" />
<property name="target">
<ref local="dao" />
</property>
<property name="transactionManager">
<ref local="transactionManager" />
</property>
<property name="transactionAttributes">
<props>
<prop key="insert*">PROPAGATION_REQUIRED</prop>
<prop key="get*">PROPAGATION_REQUIRED,readOnly</prop>
</props>
</property>
</bean>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>
WEB-INF/config/dao-config.xml,
WEB-INF/config/view-config.xml,
WEB-INF/config/controller-config.xml,
WEB-INF/config/managerController-config.xml
</param-value>
</init-param>