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, proxy
public static JdkProxyFactory INSTANCE
public <T> T proxy(T target, Aspect aspect)
ProxyFactory
proxy
in class ProxyFactory
T
- 代理对象类型target
- 被代理对象aspect
- 切面实现Copyright © 2025. All rights reserved.