public abstract class AopNamespaceUtils extends Object
aop
' namespace tags.
Only a single auto-proxy creator can be registered and multiple tags may wish
to register different concrete implementations. As such this class delegates to
AopConfigUtils
which wraps a simple escalation protocol. Therefore classes
may request a particular auto-proxy creator and know that class, or a subclass
thereof, will eventually be resident in the application context.
AopConfigUtils
Modifier and Type | Field and Description |
---|---|
static String |
PROXY_TARGET_CLASS_ATTRIBUTE
The
proxy-target-class attribute as found on AOP-related XML tags. |
Constructor and Description |
---|
AopNamespaceUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
Deprecated.
since Spring 2.5, in favor of
AopConfigUtils.forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry) |
static void |
registerAspectJAnnotationAutoProxyCreatorIfNecessary(ParserContext parserContext,
Element sourceElement) |
static void |
registerAspectJAutoProxyCreatorIfNecessary(ParserContext parserContext,
Element sourceElement) |
static void |
registerAutoProxyCreatorIfNecessary(ParserContext parserContext,
Element sourceElement) |
static void |
registerAutoProxyCreatorIfNecessary(ParserContext parserContext,
Object source)
Deprecated.
|
public static final String PROXY_TARGET_CLASS_ATTRIBUTE
proxy-target-class
attribute as found on AOP-related XML tags.public static void registerAutoProxyCreatorIfNecessary(ParserContext parserContext, Element sourceElement)
public static void registerAspectJAutoProxyCreatorIfNecessary(ParserContext parserContext, Element sourceElement)
public static void registerAspectJAnnotationAutoProxyCreatorIfNecessary(ParserContext parserContext, Element sourceElement)
@Deprecated public static void registerAutoProxyCreatorIfNecessary(ParserContext parserContext, Object source)
registerAutoProxyCreatorIfNecessary(ParserContext, Element)
and
AopConfigUtils.registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry, Object)
@Deprecated public static void forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
AopConfigUtils.forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry)