Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 991 Bytes

README.md

File metadata and controls

47 lines (33 loc) · 991 Bytes

ssh-base

ssh-base init

look me ! :smile: plase add star :star: :star: :star: :star: :star:

use maven

	<dependency>
	  <groupId>org.kd</groupId>
	  <artifactId>ssh-base</artifactId>
	  <version>1.0.0-M9</version>
	</dependency>

how use

 	<!-- base 系列 要注入的 -->
    <context:component-scan base-package="org.kd.ssh.base" />
	<aop:config>
		<aop:pointcut id="transactionPointcut"
			expression="execution(* org.kd.service.impl.*.*(..))" />
		<aop:advisor pointcut-ref="transactionPointcut"
			advice-ref="transactionAdvice" />
	<!-- base aop -->
	<aop:advisor pointcut="execution(* org.kd.ssh.base.service..*Impl.*(..))" advice-ref="transactionAdvice" />
	</aop:config>

action exetend BaseAction or BaseActionPlus

dao exetend BaseDao

daoImpl exetend BaseDaoImpl

service exetend BaseService

serviceImpl exetend BaseServiceImpl