- All Implemented Interfaces:
Provider
基于Spring-cglib的切面代理工厂
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.miaixz.bus.proxy.Provider
proxy
-
Constructor Details
-
SpringCglibProvider
public SpringCglibProvider()
-
Method Details
-
proxy
public <T> T proxy(T target,
Aspect aspect)
Description copied from interface: Provider
创建代理
- Specified by:
proxy in interface Provider
- Type Parameters:
T - 代理对象类型
- Parameters:
target - 被代理对象
aspect - 切面实现
- Returns:
- 代理对象