<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    heting

      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
      40 隨筆 :: 9 文章 :: 45 評論 :: 0 Trackbacks
    <?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"
    >
                        
    <bean id="sessionFactory"
            class
    ="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
            
    <property name="configLocation"
                value
    ="classpath:hibernate.cfg.xml">
            
    </property>
            
    <property name="configurationClass" value="org.hibernate.cfg.AnnotationConfiguration"></property>
        
    </bean>
        
    <bean id="productDao" class="dao.impl.HIbernateProductDaoImpl">
            
    <property name="sessionFactory" ref="sessionFactory"></property>
        
    </bean>
        
    <bean id="facade" class="facade.Facade">
            
    <property name="productDao" ref="productDao"></property>
        
    </bean>
        
    <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
            
    <property name="sessionFactory" ref="sessionFactory"></property>
        
    </bean>
        
        
    <tx:advice id="MethodAdivice" transaction-manager="transactionManager">
            
    <tx:attributes>
                
    <tx:method name="selete" read-only="true"/>
                
    <tx:method name="*" />
            
    </tx:attributes>
        
    </tx:advice>
        
    <aop:config>
            
    <aop:pointcut id="aoppoint" expression="execution (* facade.*.*(..))"/>
            
    <aop:advisor advice-ref="MethodAdivice" pointcut-ref="aoppoint"/>
        
        
    </aop:config>
        
    <bean id="make" class="action.make">
            
    <property name="facade" ref="facade"></property>
        
    </bean>
        
        
        
        
    </beans>
    posted on 2008-09-17 22:54 賀挺 閱讀(117) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發(fā)表評論。


    網(wǎng)站導航:
     
    主站蜘蛛池模板: 边摸边吃奶边做爽免费视频99| baoyu122.永久免费视频| 伊在人亚洲香蕉精品区麻豆| 国产免费人成视频在线播放播| 亚洲国产精品婷婷久久| 毛片a级毛片免费播放100| 成人嫩草影院免费观看| 亚洲综合精品香蕉久久网97| 在线成人a毛片免费播放| 91精品成人免费国产| 亚洲va乱码一区二区三区| 久久亚洲欧洲国产综合| 免费观看美女用震蛋喷水的视频| 久久精品国产亚洲av瑜伽| 亚洲午夜久久影院| 亚洲第一成人影院| 亚洲精品视频免费看| 一级做a爱过程免费视频高清| 久久久久亚洲精品日久生情 | 亚洲国产精品第一区二区三区| 84pao强力永久免费高清 | 成人免费无毒在线观看网站| 中文字幕视频在线免费观看| 亚洲爆乳成av人在线视菜奈实 | 国产精品内射视频免费| 亚洲av永久无码精品三区在线4| 亚洲伊人久久大香线蕉综合图片| 我要看WWW免费看插插视频| 日韩免费在线观看视频| 免费一级毛片在线播放放视频 | 香蕉97超级碰碰碰免费公| 中文字幕在线成人免费看| 亚洲AV成人一区二区三区观看| 亚洲精品动漫在线| 亚洲精品无码不卡在线播HE| 免费播放春色aⅴ视频| 青青草免费在线视频| 95免费观看体验区视频| 伊人久久大香线蕉免费视频| 美女羞羞免费视频网站| 亚洲欧美国产国产综合一区|