代理模式

tim-qtp...小于 1 分钟设计模式

Spring AOP(面向切面编程)功能的实现依赖于代理模式。Spring 使用 JDK 动态代理或 CGLIB 代理来增强目标对象,从而实现功能扩展。