类 BeanFactoryAdvisorRetriever
java.lang.Object
infra.aop.framework.autoproxy.BeanFactoryAdvisorRetriever
Helper for retrieving standard Framework Advisors from a BeanFactory,
for use with auto-proxying.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Harry Yang
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private final infra.beans.factory.config.ConfigurableBeanFactoryprivate static final infra.logging.Logger -
构造器概要
构造器构造器说明BeanFactoryAdvisorRetriever(infra.beans.factory.config.ConfigurableBeanFactory beanFactory) Create a new BeanFactoryAdvisorRetrievalHelper for the given BeanFactory. -
方法概要
修饰符和类型方法说明protected booleanisEligibleBean(String beanName) Determine whether the aspect bean with the given name is eligible.Find all eligible Advisor beans in the current bean factory, ignoring FactoryBeans and excluding beans that are currently in creation.
-
字段详细资料
-
logger
private static final infra.logging.Logger logger -
beanFactory
private final infra.beans.factory.config.ConfigurableBeanFactory beanFactory -
cachedAdvisorBeanNames
-
-
构造器详细资料
-
BeanFactoryAdvisorRetriever
public BeanFactoryAdvisorRetriever(infra.beans.factory.config.ConfigurableBeanFactory beanFactory) Create a new BeanFactoryAdvisorRetrievalHelper for the given BeanFactory.- 参数:
beanFactory- the BeanFactory to scan
-
-
方法详细资料
-
retrieveAdvisorBeans
Find all eligible Advisor beans in the current bean factory, ignoring FactoryBeans and excluding beans that are currently in creation.- 返回:
- the list of
Advisorbeans - 另请参阅:
-
isEligibleBean
Determine whether the aspect bean with the given name is eligible.The default implementation always returns
true.- 参数:
beanName- the name of the aspect bean- 返回:
- whether the bean is eligible
-