Top Description Constructors Methods
org.springframework.context.annotation

pack-priv Class AspectJAutoProxyRegistrar

extends Object
implements ImportBeanDefinitionRegistrar
Class Inheritance
All Implemented Interfaces
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
Imports
org.springframework.aop.config.AopConfigUtils, org.springframework.beans.factory.support.BeanDefinitionRegistry, org.springframework.core.annotation.AnnotationAttributes, org.springframework.core.type.AnnotationMetadata

Registers an AnnotationAwareAspectJAutoProxyCreator against the current BeanDefinitionRegistry as appropriate based on a given @EnableAspectJAutoProxy annotation.
Authors
Chris Beams, Juergen Hoeller
Since
3.1
See Also
EnableAspectJAutoProxy

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
registerBeanDefinitions(AnnotationMetadata
annotation metadata of the importing class
importingClassMetadata
,
BeanDefinitionRegistry
current bean definition registry
registry
)

Overrides default org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions.

Register, escalate, and configure the AspectJ auto proxy creator based on the value of the @EnableAspectJAutoProxy#proxyTargetClass() attribute on the importing @Configuration class.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AspectJAutoProxyRegistrarback to summary
pack-priv AspectJAutoProxyRegistrar()

Method Detail

registerBeanDefinitionsback to summary
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)

Overrides default org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions.

Register, escalate, and configure the AspectJ auto proxy creator based on the value of the @EnableAspectJAutoProxy#proxyTargetClass() attribute on the importing @Configuration class.

Parameters
importingClassMetadata:AnnotationMetadata

Doc from org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions.

annotation metadata of the importing class

registry:BeanDefinitionRegistry

Doc from org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions.

current bean definition registry

Annotations
@Override