Top Description Fields Constructors Methods
org.springframework.aop.framework.autoproxy

public Class InfrastructureAdvisorAutoProxyCreator

extends AbstractAdvisorAutoProxyCreator
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
org.springframework.beans.factory.config.BeanDefinition, .ConfigurableListableBeanFactory, org.springframework.lang.Nullable

Auto-proxy creator that considers infrastructure Advisor beans only, ignoring any application-defined Advisors.
Author
Juergen Hoeller
Since
2.0.7

Field Summary

Modifier and TypeField and Description
private ConfigurableListableBeanFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected boolean
isEligibleAdvisorBean(String
the name of the Advisor bean
beanName
)

Overrides org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.isEligibleAdvisorBean.

Return whether the Advisor bean with the given name is eligible for proxying in the first place.
Inherited from org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator:
advisorsPreFilteredextendAdvisorsfindAdvisorsThatCanApplyfindCandidateAdvisorsfindEligibleAdvisorsgetAdvicesAndAdvisorsForBeansetBeanFactorysortAdvisors

Field Detail

beanFactoryback to summary
private ConfigurableListableBeanFactory beanFactory

Hides org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.beanFactory.

Annotations
@Nullable

Constructor Detail

InfrastructureAdvisorAutoProxyCreatorback to summary
public InfrastructureAdvisorAutoProxyCreator()

Method Detail

initBeanFactoryback to summary
protected void initBeanFactory(ConfigurableListableBeanFactory beanFactory)

Overrides org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.initBeanFactory.

Annotations
@Override
isEligibleAdvisorBeanback to summary
protected boolean isEligibleAdvisorBean(String beanName)

Overrides org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.isEligibleAdvisorBean.

Doc from org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.isEligibleAdvisorBean.

Return whether the Advisor bean with the given name is eligible for proxying in the first place.

Parameters
beanName:String

the name of the Advisor bean

Returns:boolean

whether the bean is eligible

Annotations
@Override