public abstract class AopConfigUtils extends Object
Only a single auto-proxy creator can be registered yet multiple concrete
implementations are available. Therefore this class wraps a simple escalation
protocol, allowing classes to request a particular auto-proxy creator and know
that class, or a subclass thereof
, will eventually be resident
in the application context.
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
public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
public static BeanDefinition registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source)
public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
public static BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source)
public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry)
public static BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, Object source)
public static void forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
public static void forceAutoProxyCreatorToExposeProxy(BeanDefinitionRegistry registry)