@Singleton @Requires(beans=io.opentracing.Tracer.class) public class ExecutorServiceInstrumenter extends Object implements BeanCreatedEventListener<ExecutorService>
Tracer
.Constructor and Description |
---|
ExecutorServiceInstrumenter(io.opentracing.Tracer tracer)
Creates a new
ExecutorServiceInstrumenter . |
Modifier and Type | Method and Description |
---|---|
ExecutorService |
onCreated(BeanCreatedEvent<ExecutorService> event)
Fired when a bean is created and all
PostConstruct initialization hooks have been
called. |
public ExecutorServiceInstrumenter(io.opentracing.Tracer tracer)
ExecutorServiceInstrumenter
.tracer
- The tracerpublic ExecutorService onCreated(BeanCreatedEvent<ExecutorService> event)
BeanCreatedEventListener
PostConstruct
initialization hooks have been
called.onCreated
in interface BeanCreatedEventListener<ExecutorService>
event
- The bean created event