org.springframework.aop.framework.autoproxy
Class InfrastructureAdvisorAutoProxyCreator
java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator
org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxyCreator
- All Implemented Interfaces:
- Serializable, AopInfrastructureBean, BeanClassLoaderAware, BeanFactoryAware, BeanPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, Ordered
public class InfrastructureAdvisorAutoProxyCreator
- extends AbstractAdvisorAutoProxyCreator
Auto-proxy creator that considers infrastructure Advisor beans only,
ignoring any application-defined Advisors.
- Since:
- 2.0.7
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator |
buildAdvisors, createProxy, customizeProxyFactory, determineCandidateConstructors, getBeanFactory, getCacheKey, getCustomTargetSource, getEarlyBeanReference, getOrder, isFrozen, isInfrastructureClass, postProcessAfterInitialization, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType, setAdvisorAdapterRegistry, setApplyCommonInterceptorsFirst, setBeanClassLoader, setCustomTargetSourceCreators, setFrozen, setInterceptorNames, setOrder, setProxyClassLoader, shouldProxyTargetClass, shouldSkip, wrapIfNecessary |
InfrastructureAdvisorAutoProxyCreator
public InfrastructureAdvisorAutoProxyCreator()
initBeanFactory
protected void initBeanFactory(ConfigurableListableBeanFactory beanFactory)
- Overrides:
initBeanFactory
in class AbstractAdvisorAutoProxyCreator
isEligibleAdvisorBean
protected boolean isEligibleAdvisorBean(String beanName)
- Description copied from class:
AbstractAdvisorAutoProxyCreator
- Return whether the Advisor bean with the given name is eligible
for proxying in the first place.
- Overrides:
isEligibleAdvisorBean
in class AbstractAdvisorAutoProxyCreator
- Parameters:
beanName
- the name of the Advisor bean
- Returns:
- whether the bean is eligible