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() |
public static final String AUTO_PROXY_CREATOR_BEAN_NAME
public static org.springframework.beans.factory.config.BeanDefinition registerAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
public static org.springframework.beans.factory.config.BeanDefinition registerAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, Object source)
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, Object source)
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
public static org.springframework.beans.factory.config.BeanDefinition registerAspectJAnnotationAutoProxyCreatorIfNecessary(org.springframework.beans.factory.support.BeanDefinitionRegistry registry, Object source)
public static void forceAutoProxyCreatorToUseClassProxying(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
public static void forceAutoProxyCreatorToExposeProxy(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)