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
- 백준
- AOP
- 스프링
- 알고리즘
- db
- Greedy
- 스프링 핵심 기능
- jpa
- Thymeleaf
- QueryDSL
- Exception
- Android
- Servlet
- Spring Boot
- 자바
- http
- 스프링 핵심 원리
- pointcut
- 김영한
- JDBC
- transaction
- 인프런
- Proxy
- java
- SpringBoot
- springdatajpa
- kotlin
- 그리디
- spring
- JPQL
Archives
- Today
- Total
목록poinrcut (1)
개발자되기 프로젝트
Advisor - 예제
어드바이저는 하나의 포인트컷과 하나의 어드바이스를 가지고 있다. 프록시 팩토리를 통해 프록시를 생성할 때 어드바이저를 제공하면 어디에 어떤 기능을 제공할 지 알 수 있다. 1. 예제코드 public class AdvisorTest { @Test void advisorTest1(){ ServiceInterface target = new ServiceImpl(); ProxyFactory proxyFactory = new ProxyFactory(target); DefaultPointcutAdvisor advisor = new DefaultPointcutAdvisor(Pointcut.TRUE, new TimeAdvice()); proxyFactory.addAdvisor(advisor); ServiceInterf..
인프런/[인프런] 스프링 핵심 원리 - 고급
2021. 12. 31. 13:48