spring-framework / org.springframework.aop.config / AopNamespaceUtils

AopNamespaceUtils

abstract class AopNamespaceUtils

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.

Author
Rob Harrop

Author
Juergen Hoeller

Author
Mark Fisher

Since
2.0

See Also
AopConfigUtils

Constructors

<init>

AopNamespaceUtils()

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.

Properties

PROXY_TARGET_CLASS_ATTRIBUTE

static val PROXY_TARGET_CLASS_ATTRIBUTE: String

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

Functions

registerAspectJAnnotationAutoProxyCreatorIfNecessary

open static fun registerAspectJAnnotationAutoProxyCreatorIfNecessary(parserContext: ParserContext, sourceElement: Element): Unit

registerAspectJAutoProxyCreatorIfNecessary

open static fun registerAspectJAutoProxyCreatorIfNecessary(parserContext: ParserContext, sourceElement: Element): Unit

registerAutoProxyCreatorIfNecessary

open static fun registerAutoProxyCreatorIfNecessary(parserContext: ParserContext, sourceElement: Element): Unit