|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper
public class BeanFactoryAdvisorRetrievalHelper
Helper for retrieving standard Spring Advisors from a BeanFactory, for use with auto-proxying.
AbstractAdvisorAutoProxyCreator
Constructor Summary | |
---|---|
BeanFactoryAdvisorRetrievalHelper(ConfigurableListableBeanFactory beanFactory)
Create a new BeanFactoryAdvisorRetrievalHelper for the given BeanFactory. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanFactoryAdvisorRetrievalHelper(ConfigurableListableBeanFactory beanFactory)
beanFactory
- the ListableBeanFactory to scanMethod Detail |
---|
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |