Package brave.spring.beans
Class CurrentTraceContextFactoryBean
- java.lang.Object
-
- brave.spring.beans.CurrentTraceContextFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean
public class CurrentTraceContextFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
Spring XML config does not support chained builders. This converts accordingly
-
-
Constructor Summary
Constructors Constructor Description CurrentTraceContextFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrentTraceContextgetObject()Class<? extends CurrentTraceContext>getObjectType()booleanisSingleton()voidsetCustomizers(List<CurrentTraceContextCustomizer> customizers)voidsetScopeDecorators(List<CurrentTraceContext.ScopeDecorator> scopeDecorators)
-
-
-
Method Detail
-
getObject
public CurrentTraceContext getObject()
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean
-
getObjectType
public Class<? extends CurrentTraceContext> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-
setScopeDecorators
public void setScopeDecorators(List<CurrentTraceContext.ScopeDecorator> scopeDecorators)
-
setCustomizers
public void setCustomizers(List<CurrentTraceContextCustomizer> customizers)
-
-