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
Modifier and Type Method Description CurrentTraceContext
getObject()
Class<? extends CurrentTraceContext>
getObjectType()
boolean
isSingleton()
void
setCustomizers(List<CurrentTraceContextCustomizer> customizers)
void
setScopeDecorators(List<CurrentTraceContext.ScopeDecorator> scopeDecorators)
-
Constructor Details
-
CurrentTraceContextFactoryBean
public CurrentTraceContextFactoryBean()
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
setScopeDecorators
-
setCustomizers
-