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