Changes between Version 4 and Version 5 of aop

차이점 주위로
다음 차이점은 무시하기:
작성자:
anonymous (IP: 221.150.127.103)
날짜/시간:
2012-08-15 AM 1:28:19 (13 년 전)
설명:

--

Legend:

변경되지 않음
추가됨
제거됨
변경됨
  • aop

    v4 v5  
    6262 
    6363 
     64@Aspect 
     65public class Audience{ 
     66 
     67        @Point("execution(* com.springinaction.springidol.Performer.perform(..))") 
     68        public void performance(){} 
     69 
     70        @Before("performance()") 
     71        //공연 전 
     72        public void takeSeats(){ 
     73 
     74        } 
     75 
     76        @Before("performance()") 
     77        //공연 전 
     78        public void turnOffCellPhones(){ 
     79 
     80        } 
     81 
     82        @AfterReturning("performance()") 
     83        //공연 후 
     84        public void applaud(){ 
     85 
     86        } 
     87 
     88        @AfterThrowing("performance()") 
     89        //공연 실패 후 
     90        public void demandRefund(){ 
     91 
     92        }        
     93} 
     94 
     95 
    6496}}}