Tag

MethodInterceptor

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 6, 2023 · Backend Development

Mastering Spring AOP Advice Lifecycle and Types with Code Examples

This article explains the Spring AOP advice lifecycle, distinguishes shared and per‑instance advice beans, and details each advice type—around, before, throws, after‑returning, and introduction—along with practical Java code snippets for implementation.

AdviceJavaMethodInterceptor
0 likes · 10 min read
Mastering Spring AOP Advice Lifecycle and Types with Code Examples
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 16, 2021 · Backend Development

How CGLIB Generates and Executes Proxy Classes in Java

This article explains how CGLIB creates proxy classes, decompiles them, sets thread callbacks, and uses MethodInterceptor and FastClass to efficiently intercept and invoke methods in a Java 8 environment, complete with code examples and diagram illustrations.

CGLIBFastClassJava
0 likes · 12 min read
How CGLIB Generates and Executes Proxy Classes in Java