@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)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 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