public class JdkProxyFactory extends ProxyFactory
| Modifier and Type | Field and Description | 
|---|---|
static JdkProxyFactory | 
INSTANCE
获取单例 
 | 
| Constructor and Description | 
|---|
JdkProxyFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
proxy(T target,
     Aspect aspect)
创建代理 
 | 
create, createProxy, createProxy, proxypublic static JdkProxyFactory INSTANCE
public <T> T proxy(T target,
                   Aspect aspect)
ProxyFactoryproxy in class ProxyFactoryT - 代理对象类型target - 被代理对象aspect - 切面实现Copyright © 2025. All rights reserved.