open-spring-transaction.xml.svn-base

来自「EasyJWeb是基于java技术」· SVN-BASE 代码 · 共 22 行

SVN-BASE
22
字号
<?xml version="1.0" encoding="UTF-8"?>
<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.xsd
       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd"> 
	<aop:config>
		<aop:pointcut id="easyjwebProcessor"
			expression="execution(* com.easyjf.web.RequestProcessor.process(..))" />
		<aop:advisor advice-ref="txEasyjwebProcessorAdvice"
			pointcut-ref="easyjwebProcessor" />
	</aop:config>
	<tx:advice id="txEasyjwebProcessorAdvice"
		transaction-manager="transactionManager">
		<tx:attributes>
			<tx:method name="*" propagation="REQUIRED"/>
		</tx:attributes>
	</tx:advice>
	<bean name="EasyJWeb-Processor" class="com.easyjf.web.core.DefaultRequestProcessor"/>
</beans>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?