public class BeanFactoryAdvisorRetrievalHelper extends 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 |
|---|---|
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(org.springframework.beans.factory.config.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