@Factory @Requires(classes=io.jaegertracing.internal.JaegerTracer.Builder.class) @Requires(beans=JaegerConfiguration.class) public class JaegerTracerFactory extends java.lang.Object implements java.io.Closeable
| Constructor and Description | 
|---|
| JaegerTracerFactory(JaegerConfiguration configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| protected void | customizeConfiguration(io.jaegertracing.Configuration configuration)Override in subclass to customize. | 
| void | setReporter(io.jaegertracing.spi.Reporter reporter)Sets a custom reporter. | 
| void | setSampler(io.jaegertracing.spi.Sampler sampler)Sets a custom sampler. | 
| void | setScopeManager(io.opentracing.ScopeManager scopeManager)Overrides the default MDCScopeManager with a custom scope manager. | 
public JaegerTracerFactory(JaegerConfiguration configuration)
configuration - the configuration@Inject
public void setReporter(@Nullable
                                io.jaegertracing.spi.Reporter reporter)
reporter - the reporter@Inject
public void setSampler(@Nullable
                               io.jaegertracing.spi.Sampler sampler)
sampler - the sampler@Inject
public void setScopeManager(@Nullable
                                    io.opentracing.ScopeManager scopeManager)
scopeManager - the scope manager@PreDestroy
public void close()
                       throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionprotected void customizeConfiguration(io.jaegertracing.Configuration configuration)
configuration - the configuration