public class ProxyCreationContext
extends java.lang.Object
AbstractAdvisorAutoProxyCreator
.Modifier and Type | Field and Description |
---|---|
private static java.lang.ThreadLocal<java.lang.String> |
currentProxiedBeanName
ThreadLocal holding the current proxied bean name during Advisor matching
|
Constructor and Description |
---|
ProxyCreationContext() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getCurrentProxiedBeanName()
Return the name of the currently proxied bean instance.
|
(package private) static void |
setCurrentProxiedBeanName(java.lang.String beanName)
Set the name of the currently proxied bean instance.
|
private static final java.lang.ThreadLocal<java.lang.String> currentProxiedBeanName
public static java.lang.String getCurrentProxiedBeanName()
null
if none availablestatic void setCurrentProxiedBeanName(java.lang.String beanName)
beanName
- the name of the bean, or null
to reset it