Class InstrumentationHolder
- java.lang.Object
-
- io.opentelemetry.javaagent.bootstrap.InstrumentationHolder
-
public class InstrumentationHolder extends Object
This class serves as a "everywhere accessible" source ofInstrumentationinstance.
-
-
Constructor Summary
Constructors Constructor Description InstrumentationHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstrumentationgetInstrumentation()static voidsetInstrumentation(Instrumentation instrumentation)
-
-
-
Method Detail
-
getInstrumentation
public static Instrumentation getInstrumentation()
-
setInstrumentation
public static void setInstrumentation(Instrumentation instrumentation)
-
-