Class ClassLoaderMatcher
java.lang.Object
io.opentelemetry.javaagent.tooling.muzzle.ClassLoaderMatcher
This class verifies that a given
ClassLoader satisfies all expectations of a given InstrumentationModule. It is used to make sure than a module's transformations can be safely
applied to a given class loader.- See Also:
-
InstrumentationModuleReferenceMatcher
-
Method Summary
Modifier and TypeMethodDescriptionmatchesAll(ClassLoader classLoader, boolean injectHelpers) For allInstrumentationModules found in the current thread's context classloader callsmatches(InstrumentationModule, ClassLoader, boolean)and returns the aggregated result.
-
Method Details
-
matchesAll
For allInstrumentationModules found in the current thread's context classloader callsmatches(InstrumentationModule, ClassLoader, boolean)and returns the aggregated result.The returned map will be empty if and only if no instrumentation modules were found.
-