NOTE
Spring AOP Source Analysis Summary
End-to-end Spring AOP model from infrastructure registration and advisor discovery to proxy creation and interceptor invocation.
This is a historical learning note and may contain outdated or incomplete understanding.
Spring AOP can be summarized in four steps:
- AOP configuration registers auto-proxy infrastructure.
- Bean post-processing inspects candidate beans and discovers matching advisors/aspects.
- Matching beans are exposed through proxies containing an interceptor chain.
- Method calls entering the proxy execute the chain and finally the target method.
This explains transactions and other proxy-based features, including the key limitation that calls bypassing the proxy are not intercepted.
Source classes are version-sensitive; keep this conceptual pipeline as the stable mental model.