java.lang.Object | ||||
↳ | org.springframework.aop.framework.ProxyConfig | |||
↳ | org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator | |||
↳ | org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator | |||
↳ | org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator |
Known Direct Subclasses |
AbstractAdvisorAutoProxyCreator
subclass that exposes AspectJ's invocation context and understands AspectJ's rules
for advice precedence when multiple pieces of advice come from the same aspect.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.core.Ordered
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an
ExposeInvocationInterceptor to the beginning of the advice chain. | |||||||||||
Subclasses should override this method to return
true if the
given bean should not be considered for auto-proxying by this post-processor. | |||||||||||
Sort the rest by AspectJ precedence.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator
| |||||||||||
From class
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
| |||||||||||
From class
org.springframework.aop.framework.ProxyConfig
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.BeanClassLoaderAware
| |||||||||||
From interface
org.springframework.beans.factory.BeanFactoryAware
| |||||||||||
From interface
org.springframework.beans.factory.config.BeanPostProcessor
| |||||||||||
From interface
org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
| |||||||||||
From interface
org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
| |||||||||||
From interface
org.springframework.core.Ordered
|
Adds an ExposeInvocationInterceptor
to the beginning of the advice chain.
These additional advices are needed when using AspectJ expression pointcuts
and when using AspectJ-style advice.
candidateAdvisors | Advisors that have already been identified as applying to a given bean |
---|
Subclasses should override this method to return true
if the
given bean should not be considered for auto-proxying by this post-processor.
Sometimes we need to be able to avoid this happening if it will lead to
a circular reference. This implementation returns false
.
beanClass | the class of the bean |
---|---|
beanName | the name of the bean |
Sort the rest by AspectJ precedence. If two pieces of advice have come from the same aspect they will have the same order. Advice from the same aspect is then further ordered according to the following rules:
Important: Advisors are sorted in precedence order, from highest precedence to lowest. "On the way in" to a join point, the highest precedence advisor should run first. "On the way out" of a join point, the highest precedence advisor should run last.
advisors | the source List of Advisors |
---|