public abstract class AopConfigUtils extends Object
Only a single auto-proxy creator should be registered yet multiple concrete implementations are available. This class provides a simple escalation protocol, allowing a caller to request a particular auto-proxy creator and know that creator, or a more capable variant thereof, will be registered as a post-processor.
AopNamespaceUtils
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_PROXY_CREATOR_BEAN_NAME
The bean name of the internally managed auto-proxy creator.
|
Constructor and Description |
---|
AopConfigUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
forceAutoProxyCreatorToExposeProxy(BeanDefinitionRegistry registry) |
static void |
forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry) |
static BeanDefinition |
registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) |
static BeanDefinition |
registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry,
Object source) |
static BeanDefinition |
registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) |
static BeanDefinition |
registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry,
Object source) |
static BeanDefinition |
registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) |
static BeanDefinition |
registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry,
Object source) |
public static final String AUTO_PROXY_CREATOR_BEAN_NAME
@Nullable public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
@Nullable public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, @Nullable Object source)
@Nullable public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
@Nullable public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, @Nullable Object source)
@Nullable public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
@Nullable public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, @Nullable Object source)
public static void forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
public static void forceAutoProxyCreatorToExposeProxy(BeanDefinitionRegistry registry)