<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsp="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsp:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-2.0.xsd"
>
<bean id="number.DaoImpl" class="number.DaoImpl"
parent="daoTemplate.flm">
</bean>
<bean id="number.ServiceImpl" class="number.ServiceImpl">
<property name="dao">
<ref bean="number.DaoImpl" />
</property>
</bean>
<bean id="number.Action" class="number.Action" scope="prototype">
<property name="service">
<ref bean="number.ServiceImpl" />
</property>
<property name="commonService">
<ref bean="commonServiceImpl"/>
</property>
</bean>
</beans>
src/number/appContext.xml
最新推荐文章于 2022-06-16 22:29:36 发布