public class BeanFactoryAdvisorRetrievalHelper extends Object
AbstractAdvisorAutoProxyCreator
Constructor and Description |
---|
BeanFactoryAdvisorRetrievalHelper(ConfigurableListableBeanFactory beanFactory)
Create a new BeanFactoryAdvisorRetrievalHelper for the given BeanFactory.
|
Modifier and Type | Method and Description |
---|---|
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(String beanName)
Determine whether the aspect bean with the given name is eligible.
|
public BeanFactoryAdvisorRetrievalHelper(ConfigurableListableBeanFactory beanFactory)
beanFactory
- the ListableBeanFactory to scanpublic List<Advisor> findAdvisorBeans()
Advisor
beansisEligibleBean(java.lang.String)
protected boolean isEligibleBean(String beanName)
The default implementation always returns true
.
beanName
- the name of the aspect bean