@Factory @Requires(classes=io.jaegertracing.internal.JaegerTracer.Builder.class) @Requires(beans=JaegerConfiguration.class) public class JaegerTracerFactory extends Object implements Closeable
| Constructor and Description | 
|---|
| JaegerTracerFactory(JaegerConfiguration configuration)Initialize Jaeger trace factory with the configurations. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| protected void | customizeConfiguration(io.jaegertracing.Configuration configuration)Hooks for sub classes to override. | 
| void | setReporter(io.jaegertracing.spi.Reporter reporter)Allows setting a custom reporter. | 
| void | setSampler(io.jaegertracing.spi.Sampler sampler)Allows setting a custom sampler. | 
public JaegerTracerFactory(JaegerConfiguration configuration)
configuration - Jaeger configurations@Inject public void setReporter(@Nullable io.jaegertracing.spi.Reporter reporter)
reporter - The Reporter@Inject public void setSampler(@Nullable io.jaegertracing.spi.Sampler sampler)
sampler - Sampler@PreDestroy public void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void customizeConfiguration(io.jaegertracing.Configuration configuration)
configuration - The configuration