Class ContextProxyAdvisor

  • All Implemented Interfaces:
    Serializable, org.springframework.aop.framework.AopInfrastructureBean, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.core.Ordered

    @Component("contextProxyAdvisor")
    public class ContextProxyAdvisor
    extends org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator

        DO_NOT_PROXY, logger, PROXY_WITHOUT_ADDITIONAL_INTERCEPTORS
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Object[] getAdvicesAndAdvisorsForBean​(Class<?> beanClass, String beanName, org.springframework.aop.TargetSource customTargetSource)  
      private String getBeanNameOfFeatureAdvisor()  
      private boolean hasAnnotation​(Method method)  
      • Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator

        advisorsPreFiltered, buildAdvisors, createProxy, customizeProxyFactory, determineCandidateConstructors, getBeanFactory, getCacheKey, getCustomTargetSource, getEarlyBeanReference, isFrozen, isInfrastructureClass, postProcessAfterInitialization, postProcessBeforeInstantiation, postProcessProperties, predictBeanType, setAdvisorAdapterRegistry, setApplyCommonInterceptorsFirst, setBeanFactory, setCustomTargetSourceCreators, setFrozen, setInterceptorNames, shouldProxyTargetClass, shouldSkip, wrapIfNecessary
      • Methods inherited from class org.springframework.aop.framework.ProxyProcessorSupport

        evaluateProxyInterfaces, getOrder, getProxyClassLoader, isConfigurationCallbackInterface, isInternalLanguageInterface, setBeanClassLoader, setOrder, setProxyClassLoader
      • Methods inherited from class org.springframework.aop.framework.ProxyConfig

        copyFrom, isExposeProxy, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setOpaque, setOptimize, setProxyTargetClass, toString
      • Methods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor

        postProcessBeforeInitialization
      • Methods inherited from interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor

        postProcessAfterInstantiation, postProcessPropertyValues
    • Constructor Detail

      • ContextProxyAdvisor

        public ContextProxyAdvisor()
    • Method Detail

      • getBeanNameOfFeatureAdvisor

        private String getBeanNameOfFeatureAdvisor()
      • getAdvicesAndAdvisorsForBean

        protected Object[] getAdvicesAndAdvisorsForBean​(Class<?> beanClass,
                                                        String beanName,
                                                        org.springframework.aop.TargetSource customTargetSource)
                                                 throws org.springframework.beans.BeansException
        Specified by:
        getAdvicesAndAdvisorsForBean in class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
        Throws:
        org.springframework.beans.BeansException
      • hasAnnotation

        private boolean hasAnnotation​(Method method)