org.springframework.context.annotation
Class AspectJAutoProxyRegistrar

java.lang.Object
  extended by org.springframework.context.annotation.AspectJAutoProxyRegistrar
All Implemented Interfaces:
ImportBeanDefinitionRegistrar

 class AspectJAutoProxyRegistrar
extends java.lang.Object
implements ImportBeanDefinitionRegistrar

Registers an AnnotationAwareAspectJAutoProxyCreator against the current BeanDefinitionRegistry as appropriate based on a given @EnableAspectJAutoProxy annotation.

Since:
3.1
Author:
Chris Beams
See Also:
EnableAspectJAutoProxy

Constructor Summary
AspectJAutoProxyRegistrar()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectJAutoProxyRegistrar

AspectJAutoProxyRegistrar()
Method Detail

registerBeanDefinitions

public 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.

Specified by:
registerBeanDefinitions in interface ImportBeanDefinitionRegistrar
Parameters:
importingClassMetadata - annotation metadata of the importing class
registry - current bean definition registry