root/nextboard/WebContent/WEB-INF/kyuriboard-service.xml

리비전 3, 1.4 kB (mefour에 의해 체크인됨, 16 년 전)

ASSIGNED - # 1: 인큐페이터 사이트를 위한 개념 정립
http://221.150.127.106:8081/projects/hubproject/ticket/1

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <beans xmlns="http://www.springframework.org/schema/beans"
4              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5              xmlns:aop="http://www.springframework.org/schema/aop"
6              xmlns:tx="http://www.springframework.org/schema/tx"
7              xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
8            http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
9            http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">
10
11        
12         <!-- ============================== BUSINESS OBJECT DEFINITIONS ======================= -->
13        
14         <bean id="kyuriBoard" class="org.springframework.samples.kyuriboard.domain.logic.KyuriBoardImpl">
15                 <property name="boardDao" ref="boardDao"/>
16                 <property name="memoDao" ref="memoDao"/>
17                 <property name="userDao" ref="userDao"/>
18         </bean>         
19        
20         <!-- ============================== ASPECT CONFIGURATION ============================== -->
21        
22         <tx:advice id="txAdvice">
23                 <tx:attributes>
24                         <tx:method name="insert*"/>
25                         <tx:method name="update*"/>
26                         <tx:method name="delete*"/>
27                         <tx:method name="*" read-only="true"/>
28                 </tx:attributes>
29         </tx:advice>
30        
31         <aop:config>
32                 <aop:advisor pointcut="execution(* *..KyuriBoardFacade.*(..))" advice-ref="txAdvice"/>
33         </aop:config>
34        
35 </beans>
참고: 소스 브라우저를 사용하면서 도움이 필요하다면, TracBrowser를 참고하십시오.