class AspectJAutoProxyRegistrar extends java.lang.Object implements ImportBeanDefinitionRegistrar
AnnotationAwareAspectJAutoProxyCreator
against the current BeanDefinitionRegistry
as appropriate based on a given @EnableAspectJAutoProxy
annotation.EnableAspectJAutoProxy
Constructor and Description |
---|
AspectJAutoProxyRegistrar() |
Modifier and Type | Method and Description |
---|---|
void |
registerBeanDefinitions(AnnotationMetadata importingClassMetadata,
BeanDefinitionRegistry registry)
Register, escalate, and configure the AspectJ auto proxy creator based on the value
of the @
EnableAspectJAutoProxy.proxyTargetClass() attribute on the importing
@Configuration class. |
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry)
EnableAspectJAutoProxy.proxyTargetClass()
attribute on the importing
@Configuration
class.registerBeanDefinitions
in interface ImportBeanDefinitionRegistrar
importingClassMetadata
- annotation metadata of the importing classregistry
- current bean definition registry