Class SleuthAdvisorConfig
- java.lang.Object
-
- org.springframework.aop.support.AbstractPointcutAdvisor
-
- org.springframework.cloud.sleuth.instrument.annotation.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.BeanFactoryAwareCustom pointcut advisor that picks all classes / interfaces that have the Sleuth related annotations.- Since:
- 1.2.0
- Author:
- Marcin Grzejszczak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SleuthAdvisorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.aopalliance.aop.AdvicegetAdvice()org.springframework.aop.PointcutgetPointcut()voidinit()voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)Set theBeanFactoryto be used when looking up executors by qualifier.
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Set theBeanFactoryto be used when looking up executors by qualifier.- Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware
-
getAdvice
public org.aopalliance.aop.Advice getAdvice()
- Specified by:
getAdvicein interfaceorg.springframework.aop.Advisor
-
getPointcut
public org.springframework.aop.Pointcut getPointcut()
- Specified by:
getPointcutin interfaceorg.springframework.aop.PointcutAdvisor
-
-