Package co.elastic.apm.agent.bci
Class TracerAwareInstrumentation
- java.lang.Object
-
- co.elastic.apm.agent.sdk.ElasticApmInstrumentation
-
- co.elastic.apm.agent.bci.TracerAwareInstrumentation
-
- Direct Known Subclasses:
TraceMethodInstrumentation
public abstract class TracerAwareInstrumentation extends co.elastic.apm.agent.sdk.ElasticApmInstrumentationThe constructor can optionally have aElasticApmTracerparameter.
-
-
Constructor Summary
Constructors Constructor Description TracerAwareInstrumentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanindyPlugin()Deprecated.Overriding this method means not the instrumentation is not an indy plugin.-
Methods inherited from class co.elastic.apm.agent.sdk.ElasticApmInstrumentation
getAdviceClassName, getClassLoaderMatcher, getInstrumentationGroupNames, getMethodMatcher, getOffsetMapping, getProtectionDomainPostFilter, getTypeMatcher, getTypeMatcherPreFilter, includeWhenInstrumentationIsDisabled, onTypeMatch
-
-
-
-
Field Detail
-
tracer
public static final Tracer tracer
-
-
Method Detail
-
indyPlugin
@Deprecated public boolean indyPlugin()
Deprecated.Overriding this method means not the instrumentation is not an indy plugin. The usage of non-indy plugins is deprecated.Allows to opt-out of indy plugins. This is just to allow for a migration period where both indy and non-indy plugins are in use. Once all non-indy plugins are migrated this method will be removed.- Returns:
- whether to load the classes of this plugin in dedicated plugin class loaders (one for each unique class loader)
and dispatch to the advice via an
INVOKEDYNAMICinstruction.
-
-