public class BeanFactoryAspectJAdvisorsBuilder extends Object
AnnotationAwareAspectJAutoProxyCreator| 构造器和说明 |
|---|
BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory)
Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.
|
BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory,
AspectJAdvisorFactory advisorFactory)
Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Advisor> |
buildAspectJAdvisors()
去容器中获取到所有的切面信息保存到缓存中
|
protected boolean |
isEligibleBean(String beanName)
Return whether the aspect bean with the given name is eligible.
|
public BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory)
beanFactory - the ListableBeanFactory to scanpublic BeanFactoryAspectJAdvisorsBuilder(org.springframework.beans.factory.ListableBeanFactory beanFactory,
AspectJAdvisorFactory advisorFactory)
beanFactory - the ListableBeanFactory to scanadvisorFactory - the AspectJAdvisorFactory to build each Advisor withpublic List<Advisor> buildAspectJAdvisors()
Advisor beansisEligibleBean(java.lang.String)protected boolean isEligibleBean(String beanName)
beanName - the name of the aspect bean