AnnotationAwareAspectJAutoProxyCreator
| Modifier and Type | Field and Description |
|---|---|
| private final AspectJAdvisorFactory | |
| private final Map | |
| private volatile List | |
| private final Map | |
| private final ListableBeanFactory |
| Access | Constructor and Description |
|---|---|
| public | BeanFactoryAspectJAdvisorsBuilder(ListableBeanFactory
the ListableBeanFactory to scan beanFactory)Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory. |
| public | BeanFactoryAspectJAdvisorsBuilder(ListableBeanFactory
the ListableBeanFactory to scan beanFactory, AspectJAdvisorFactory the AspectJAdvisorFactory to build each Advisor with advisorFactory)Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory. |
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the list oforg. beansLook for AspectJ-annotated aspect beans in the current bean factory, and return to a list of Spring AOP Advisors representing them. |
| protected boolean | Returns: whether the bean is eligiblethe name of the aspect bean beanName)Return whether the aspect bean with the given name is eligible. |
| advisorFactory | back to summary |
|---|---|
| private final AspectJAdvisorFactory advisorFactory | |
| advisorsCache | back to summary |
|---|---|
| private final Map<String, List<Advisor>> advisorsCache | |
| aspectBeanNames | back to summary |
|---|---|
| private volatile List<String> aspectBeanNames
| |
| aspectFactoryCache | back to summary |
|---|---|
| private final Map<String, MetadataAwareAspectInstanceFactory> aspectFactoryCache | |
| beanFactory | back to summary |
|---|---|
| private final ListableBeanFactory beanFactory | |
| BeanFactoryAspectJAdvisorsBuilder | back to summary |
|---|---|
| public BeanFactoryAspectJAdvisorsBuilder(ListableBeanFactory beanFactory) Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.
| |
| BeanFactoryAspectJAdvisorsBuilder | back to summary |
|---|---|
| public BeanFactoryAspectJAdvisorsBuilder(ListableBeanFactory beanFactory, AspectJAdvisorFactory advisorFactory) Create a new BeanFactoryAspectJAdvisorsBuilder for the given BeanFactory.
| |
| buildAspectJAdvisors | back to summary |
|---|---|
| public List Look for AspectJ-annotated aspect beans in the current bean factory, and return to a list of Spring AOP Advisors representing them. Creates a Spring Advisor for each AspectJ advice method.
| |
| isEligibleBean | back to summary |
|---|---|
| protected boolean isEligibleBean(String beanName) Return whether the aspect bean with the given name is eligible.
| |