#cglib
Posts
-
Digging into Spring's Source 10: How an AOP Proxy Gets Built — the JDK Way and the CGLIB Way
How a single ProxyFactory.getProxy() call decides between a JDK dynamic proxy and a CGLIB proxy, how each one is built, and how a call on the proxy travels through the interceptor chain to the target object — all checked against the real source. Also why calling your own method from inside the class skips the advice, and the trap with final methods, shown with runnable examples.