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 |
Tags
- 도커
- 완전 탐색
- 백트래킹
- 트리
- 게이트웨이
- Java
- 주울
- 유레카
- 이분 매칭
- Zuul
- spring cloud
- 구현
- 다익스트라
- 메모이제이션
- 플로이드 와샬
- docker-compose
- 스택
- 달팽이
- dp
- Logback
- 비트마스킹
- 이분 탐색
- 구간 트리
- ZuulFilter
- 스프링 시큐리티
- 서비스 디스커버리
- Spring Cloud Config
- spring boot
- BFS
- Gradle
Archives
- Today
- Total
Hello, Freakin world!
[Spring AOP] 포인트컷의 종류와 성능 본문
11. Aspect Oriented Programming with Spring
Aspect-Oriented Programming (AOP) complements Object-Oriented Programming (OOP) by providing another way of thinking about program structure. The key unit of modularity in OOP is the class, whereas in AOP the unit of modularity is the aspect. Aspects enabl
docs.spring.io
아래 글은 위 글을 요약 정리한 내용입니다. 자세한 내용을 위 글을 참고하세요.
포인트컷에는 세가지 종류가 있습니다.
- kinded : execution, get, set, call, handle
- scoping : within, withincode
- contextual : this, target, @annotation
kinded와 contextual 만으로 포인트컷을 구성하는 것은 weaving(조인 포인트와 매칭) 성능에 영향을 줄 수 있습니다.
그래서 되도록이면 scoping 포인트컷과 같이 사용하도록 하는게 성능에 좋습니다.
scoping 지시자 연산은 아주 빠르고 검색 범위를 좁혀주기 때문입니다.
'Spring boot' 카테고리의 다른 글
[Spring boot]도커 컴포즈로 서비스 클러스터 구성하기 (0) | 2021.03.03 |
---|---|
[Spring] 컨트롤러 메서드 파리미터 JSON 바인딩 여부 테스트 (0) | 2020.08.10 |
Spring AOP 기반 validation 수행하기 (0) | 2020.07.24 |
[Spring AOP] 포인트컷 지시어들(Designators) (0) | 2020.07.18 |
[Spring AOP] 포인트컷 선언하기 (0) | 2020.07.18 |
Comments