Class GroovyAwareInfrastructureAdvisorAutoProxyCreator

  • All Implemented Interfaces:
    java.io.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

    public class GroovyAwareInfrastructureAdvisorAutoProxyCreator
    extends org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxyCreator
    Tells Spring always to proxy Groovy classes.
    Since:
    1.2
    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 boolean shouldProxyTargetClass​(java.lang.Class<?> beanClass, java.lang.String beanName)  
      • Methods inherited from class org.springframework.aop.framework.autoproxy.InfrastructureAdvisorAutoProxyCreator

        initBeanFactory, isEligibleAdvisorBean
      • Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator

        advisorsPreFiltered, extendAdvisors, findAdvisorsThatCanApply, findCandidateAdvisors, findEligibleAdvisors, getAdvicesAndAdvisorsForBean, setBeanFactory, sortAdvisors
      • Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator

        buildAdvisors, createProxy, customizeProxyFactory, determineCandidateConstructors, getBeanFactory, getCacheKey, getCustomTargetSource, getEarlyBeanReference, isFrozen, isInfrastructureClass, postProcessAfterInitialization, postProcessBeforeInstantiation, postProcessProperties, predictBeanType, setAdvisorAdapterRegistry, setApplyCommonInterceptorsFirst, setCustomTargetSourceCreators, setFrozen, setInterceptorNames, 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 class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • 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

      • GroovyAwareInfrastructureAdvisorAutoProxyCreator

        public GroovyAwareInfrastructureAdvisorAutoProxyCreator()
    • Method Detail

      • shouldProxyTargetClass

        protected boolean shouldProxyTargetClass​(java.lang.Class<?> beanClass,
                                                 java.lang.String beanName)
        Overrides:
        shouldProxyTargetClass in class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator