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
- java
- 알고리즘
- Servlet
- 자바
- jpa
- JPQL
- 백준
- db
- http
- 김영한
- springdatajpa
- Android
- 스프링
- Greedy
- 그리디
- 스프링 핵심 기능
- pointcut
- AOP
- 인프런
- Proxy
- JDBC
- Exception
- kotlin
- 스프링 핵심 원리
- transaction
- Thymeleaf
- SpringBoot
- QueryDSL
- Spring Boot
- spring
Archives
- Today
- Total
목록MultiAdvisor (1)
개발자되기 프로젝트
여러 개의 Advisor 적용
어드바이저는 하나의 포인트컷과 하나의 어드바이스를 가지고 있다. 만약 여러 어드바이저를 하나의 target 에 적용하려면 어떻게 해야할까? 쉽게 이야기해서 하나의 target 에 여러 어드바이스를 적용하려면 어떻게 해야할까? 프록시를 여러 개 만들면 될까? 1. 예제 public class MultiAdvisorTest { @Test @DisplayName("여러 프록시") void multiAdvisorTest(){ //client -> proxy2(advisor2) -> proxy1(advisor1) -> target //프록시1 생성. ServiceInterface target = new ServiceImpl(); ProxyFactory proxyFactory1 = new ProxyFactory(t..
인프런/[인프런] 스프링 핵심 원리 - 고급
2022. 1. 1. 00:15