인프런 커뮤니티 질문&답변
Pointcut과 MethodMatcher에 관한 질문입니다.
작성
·
304
2
안녕하세요. 좋은 강의 올려주셔서 감사합니다.
이번 강의를 보고 전반적인 프록시팩토리의 어드바이저 흐름은 이해가 됬지만, 직접 구현해본 MyMethodMatcher에서 로그로 targetClass와 methodName을 찍을 때 이 정보를 어디서 가져오는지 이해가 잘 안됐습니다.
처음 MethodMatcher 나 Pointcut을 생성할때 의존객체들에 대한 레퍼런스만 저장해두고, proxy.save() 나 .find()의 실제 동작 메서드들이 호출되면 내부적으로 targetClass나 method 정보를 포인트컷에 파라미터로 전달하는게 맞나요?
(실력이 부족해서 질문을 적는것도 쉽지가 않네요ㅜㅜ)
퀴즈
Using Spring's proxy factory, what problems can be solved, and how can proxies be conveniently created?
Add additional features without core logic change.
Circular Reference Resolution at Object Creation
Concurrency Problem Solving
Database Connection Management





