728x90 포인트 컷1 스프링 AOP 포인트 컷 외부 설정 pointcut 모아놓은 클래스 외부에서 접근 가능하게 public 설정 package hello.aop.order.aop; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Pointcut; public class Pointcuts { // hello.aop.order 패키지와 하위패키지 @Pointcut("execution(* hello.aop.order..*(..))") public void allOrder(){} //pointcu signature // 클래스 이름 패턴이 *Service @Pointcut("execution(* *..*Service.*(..))") public void allService().. 2021. 11. 3. 이전 1 다음 728x90