AOP란?
AOP 공통 관심 사항과 핵심 관심 사항을 분리하는 프로그래밍 법 스프링 AOP 구현예제 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.springframework.stereotype.Component; @Component @Aspect public class TimeTraceAop { @Around("execution(* hello.hellospring..*(..))") public Object exec..
2021.01.12