public abstract class AopConfigUtils
extends java.lang.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 java.lang.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,
java.lang.Object source) |
static BeanDefinition |
registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) |
static BeanDefinition |
registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry,
java.lang.Object source) |
static BeanDefinition |
registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry) |
static BeanDefinition |
registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry,
java.lang.Object source) |
public static final java.lang.String AUTO_PROXY_CREATOR_BEAN_NAME
public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, java.lang.Object source)
public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, java.lang.Object source)
public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, java.lang.Object source)
public static void forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
public static void forceAutoProxyCreatorToExposeProxy(BeanDefinitionRegistry registry)