public abstract class

AopNamespaceUtils

extends Object
java.lang.Object
   ↳ org.springframework.aop.config.AopNamespaceUtils

Class Overview

Utility class for handling registration of auto-proxy creators used internally by the '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.

See Also

Summary

Constants
String PROXY_TARGET_CLASS_ATTRIBUTE The proxy-target-class attribute as found on AOP-related XML tags.
Public Constructors
AopNamespaceUtils()
Public Methods
static void forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry registry)
This method is deprecated. since Spring 2.5, in favor of forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry)
static void registerAspectJAnnotationAutoProxyCreatorIfNecessary(ParserContext parserContext, Element sourceElement)
static void registerAspectJAutoProxyCreatorIfNecessary(ParserContext parserContext, Element sourceElement)
static void registerAutoProxyCreatorIfNecessary(ParserContext parserContext, Object source)
static void registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, ComponentRegistrar parserContext, Object source, Boolean proxyTargetClass)
static void registerAutoProxyCreatorIfNecessary(ParserContext parserContext, Element sourceElement)
static void registerAutoProxyCreatorIfNecessary(BeanDefinitionRegistry registry, ComponentRegistrar parserContext, Object source, Boolean proxyTargetClass, Boolean exposeProxy)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PROXY_TARGET_CLASS_ATTRIBUTE

The proxy-target-class attribute as found on AOP-related XML tags.

Constant Value: "proxy-target-class"

Public Constructors

public AopNamespaceUtils ()

Public Methods

public static void forceAutoProxyCreatorToUseClassProxying (BeanDefinitionRegistry registry)

This method is deprecated.
since Spring 2.5, in favor of forceAutoProxyCreatorToUseClassProxying(BeanDefinitionRegistry)

public static void registerAspectJAnnotationAutoProxyCreatorIfNecessary (ParserContext parserContext, Element sourceElement)

public static void registerAspectJAutoProxyCreatorIfNecessary (ParserContext parserContext, Element sourceElement)

public static void registerAutoProxyCreatorIfNecessary (ParserContext parserContext, Object source)

public static void registerAutoProxyCreatorIfNecessary (BeanDefinitionRegistry registry, ComponentRegistrar parserContext, Object source, Boolean proxyTargetClass)

public static void registerAutoProxyCreatorIfNecessary (ParserContext parserContext, Element sourceElement)

public static void registerAutoProxyCreatorIfNecessary (BeanDefinitionRegistry registry, ComponentRegistrar parserContext, Object source, Boolean proxyTargetClass, Boolean exposeProxy)