类 ProxyHints
java.lang.Object
cn.taketoday.aot.hint.ProxyHints
Gather the need for using proxies at runtime.
- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Return the interface-based proxies that are required.registerJdkProxy(TypeReference... proxiedInterfaces) Register that a JDK proxy implementing the interfaces defined by the specified type references is required.registerJdkProxy(Class<?>... proxiedInterfaces) Register that a JDK proxy implementing the specified interfaces is required.registerJdkProxy(Consumer<JdkProxyHint.Builder> jdkProxyHint) Register aJdkProxyHint.
-
字段详细资料
-
jdkProxies
-
-
构造器详细资料
-
ProxyHints
public ProxyHints()
-
-
方法详细资料
-
jdkProxyHints
Return the interface-based proxies that are required.- 返回:
- a stream of
JdkProxyHint
-
registerJdkProxy
Register aJdkProxyHint.- 参数:
jdkProxyHint- the consumer of the hint builder- 返回:
this, to facilitate method chaining
-
registerJdkProxy
Register that a JDK proxy implementing the interfaces defined by the specified type references is required.- 参数:
proxiedInterfaces- the type references for the interfaces the proxy should implement- 返回:
this, to facilitate method chaining
-
registerJdkProxy
Register that a JDK proxy implementing the specified interfaces is required.When registering a JDK proxy for Infra AOP, consider using
AopProxyUtils.completeJdkProxyInterfaces()for convenience.- 参数:
proxiedInterfaces- the interfaces the proxy should implement- 返回:
this, to facilitate method chaining
-