applicationContext-yhgl.xml

来源:互联网 发布:js判断json是否为空 编辑:程序博客网 时间:2024/06/07 19:34

<?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-2.0.xsd
       http://www.springframework.org/schema/tx
       http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
       http://www.springframework.org/schema/aop
       http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"

       default-autowire="no"
       default-lazy-init="false"
       default-dependency-check="none"
>

 <!--========================================================================
       Declare a Persistent Object
    =========================================================================-->
 <bean id="yhgl_userInforDAO" class="com.epet.yhgl.persistent.impl.UserInforDAOImpl">
  <property name="hibernateTemplate" ref="hibernateTemplate"/>
 </bean>
   
 <!--========================================================================
       DI Bussiness Impl Configure
    =========================================================================-->
 <bean id="yhgl_businessService" class="com.epet.yhgl.business.impl.BusinessServiceImpl">
  <property name="userInforDAO" ref="yhgl_userInforDAO" />
 </bean>


 <!--========================================================================
        DI Controller Configure
    =========================================================================-->
 <bean name="/yhgl/UserInforAction" class="com.epet.yhgl.controller.action.UserInforAction">
  <property name="businessService" ref="yhgl_businessService" />
 </bean>
</beans>

原创粉丝点击