
[Spring] 21.Spring AOP(XML, Point Cut②)
·
🖥️ Backend/Spring
이전 시간에는 포인트 컷과 Advisor를 따로 분리했었는데 이것들을 하나의 Advisor로 합쳐보자 /* */ /* 위의 두 가지를 합쳐놓은것 */ total avg // avg메서드도 추가 /* */ // 위에서 아래로 변경 classicAroundAdvisor classicBeforeAdvisor logAfterReturningAdvice logAfterThrowingAdvice public class Program { public static void main(String[] args) { Application..