Class SleuthAdvisorConfig

  • All Implemented Interfaces:
    Serializable, org.springframework.aop.Advisor, org.springframework.aop.PointcutAdvisor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.core.Ordered

    public class SleuthAdvisorConfig
    extends org.springframework.aop.support.AbstractPointcutAdvisor
    implements org.springframework.beans.factory.BeanFactoryAware
    Custom pointcut advisor that picks all classes / interfaces that have the Sleuth related annotations.
    Since:
    1.2.0
    Author:
    Marcin Grzejszczak
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.springframework.aop.Advisor

        EMPTY_ADVICE
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Constructor Detail

      • SleuthAdvisorConfig

        public SleuthAdvisorConfig()
    • Method Detail

      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
        Set the BeanFactory to be used when looking up executors by qualifier.
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      • getAdvice

        public org.aopalliance.aop.Advice getAdvice()
        Specified by:
        getAdvice in interface org.springframework.aop.Advisor
      • getPointcut

        public org.springframework.aop.Pointcut getPointcut()
        Specified by:
        getPointcut in interface org.springframework.aop.PointcutAdvisor