Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- JPQL
- 스프링
- Proxy
- 알고리즘
- 김영한
- 그리디
- Greedy
- 스프링 핵심 원리
- http
- Servlet
- AOP
- transaction
- JDBC
- 인프런
- springdatajpa
- java
- Android
- Thymeleaf
- db
- spring
- SpringBoot
- 자바
- 백준
- 스프링 핵심 기능
- kotlin
- jpa
- pointcut
- QueryDSL
- Exception
- Spring Boot
Archives
- Today
- Total
목록Pointcut 분리 (1)
개발자되기 프로젝트
[스프링AOP] 스프링AOP 구현 - Pointcut 참조
다음과 같이 포인트컷을 공용으로 사용하기 위해 별도의 외부 클래스에 모아두어도 된다. 참고로 외부에서 호출할 때는 포인트컷의 접근 제어자를 public 으로 열어두어야 한다. 1. Pointcuts import org.aspectj.lang.annotation.Pointcut; public class Pointcuts { //hello.aop.order 패키지와 하위 패키지 @Pointcut("execution(* hello.aop.order..*(..))") public void allOrder(){ } // pointcut signature //클래스 이름 패턴이 *Service @Pointcut("execution(* *..*Service.*(..))") public void allService()..
인프런/[인프런] 스프링 핵심 원리 - 고급
2022. 1. 5. 16:15