Package brave.spring.beans
Class MessagingTracingFactoryBean
- java.lang.Object
-
- brave.spring.beans.MessagingTracingFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean
public class MessagingTracingFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
Spring XML config does not support chained builders. This converts accordingly
-
-
Constructor Summary
Constructors Constructor Description MessagingTracingFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagingTracing
getObject()
Class<? extends MessagingTracing>
getObjectType()
boolean
isSingleton()
void
setConsumerSampler(SamplerFunction<MessagingRequest> consumerSampler)
void
setCustomizers(List<MessagingTracingCustomizer> customizers)
void
setProducerSampler(SamplerFunction<MessagingRequest> producerSampler)
void
setPropagation(Propagation<String> propagation)
void
setTracing(Tracing tracing)
-
-
-
Method Detail
-
getObject
public MessagingTracing getObject()
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
-
getObjectType
public Class<? extends MessagingTracing> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
setTracing
public void setTracing(Tracing tracing)
-
setProducerSampler
public void setProducerSampler(SamplerFunction<MessagingRequest> producerSampler)
-
setConsumerSampler
public void setConsumerSampler(SamplerFunction<MessagingRequest> consumerSampler)
-
setPropagation
public void setPropagation(Propagation<String> propagation)
-
setCustomizers
public void setCustomizers(List<MessagingTracingCustomizer> customizers)
-
-