understanding proxy usage in Spring

자료를 찾고 찾다보니… 좋은글을 발견.

Only external method calls coming in through the proxy are intercepted. This means that self-invocation, in effect, a method within the target object calling another method of the target object, will not lead to an actual cache interception at runtime even if the invoked method is marked with @Cacheable.

Transactions, Caching and AOP: understanding proxy usage in Spring