public class BeanFactoryAdvisorRetrievalHelper
extends java.lang.Object
AbstractAdvisorAutoProxyCreator| Constructor and Description |
|---|
BeanFactoryAdvisorRetrievalHelper(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Create a new BeanFactoryAdvisorRetrievalHelper for the given BeanFactory.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Advisor> |
findAdvisorBeans()
Find all eligible Advisor beans in the current bean factory,
ignoring FactoryBeans and excluding beans that are currently in creation.
|
protected boolean |
isEligibleBean(java.lang.String beanName)
Determine whether the aspect bean with the given name is eligible.
|
public BeanFactoryAdvisorRetrievalHelper(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
beanFactory - the ListableBeanFactory to scanpublic java.util.List<Advisor> findAdvisorBeans()
Advisor beansisEligibleBean(java.lang.String)protected boolean isEligibleBean(java.lang.String beanName)
The default implementation always returns true.
beanName - the name of the aspect bean