类 ProxyCreationContext
java.lang.Object
infra.aop.framework.autoproxy.ProxyCreationContext
Holder for the current proxy creation context, as exposed by auto-proxy creators
such as
AbstractAdvisorAutoProxyCreator.- 从以下版本开始:
- 4.0 2022/3/9 11:44
- 作者:
- Juergen Hoeller, Ramnivas Laddad, Harry Yang
-
字段概要
字段修饰符和类型字段说明private static final ThreadLocal<String>ThreadLocal holding the current proxied bean name during Advisor matching. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringReturn the name of the currently proxied bean instance.(专用程序包) static voidsetCurrentProxiedBeanName(String beanName) Set the name of the currently proxied bean instance.
-
字段详细资料
-
currentProxiedBeanName
ThreadLocal holding the current proxied bean name during Advisor matching.
-
-
构造器详细资料
-
ProxyCreationContext
private ProxyCreationContext()
-
-
方法详细资料
-
getCurrentProxiedBeanName
Return the name of the currently proxied bean instance.- 返回:
- the name of the bean, or
nullif none available
-
setCurrentProxiedBeanName
Set the name of the currently proxied bean instance.- 参数:
beanName- the name of the bean, ornullto reset it
-