dao.xml.svn-base

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

SVN-BASE
25
字号
<?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">

##set ($domain = $!domainName.toLowerCase())
<!-- $!{domain}Dao -->
<bean id="$!{domain}Dao" parent="abstractDao">
		<property name="proxyInterfaces">
			<value>$!{packageName}.dao.I$!{domainName}DAO</value>
		</property>
		<property name="target">
			<bean parent="baseDAO">
				<constructor-arg>
					<value>$!{packageName}.domain.$!{domainName}</value>
				</constructor-arg>
			</bean>
		</property>
</bean>

</beans>

⌨️ 快捷键说明

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