public static interface AgentBuilder.LocationStrategy
ClassFileLocator when instrumenting a type.| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.LocationStrategy.ForClassLoader
A location strategy that locates class files by querying an instrumented type's
ClassLoader. |
| Modifier and Type | Method and Description |
|---|---|
ClassFileLocator |
classFileLocator(ClassLoader classLoader,
JavaModule module)
Creates a class file locator for a given class loader and module combination.
|
ClassFileLocator classFileLocator(ClassLoader classLoader, JavaModule module)
classLoader - The class loader that is loading an instrumented type. Might be null to represent the bootstrap class loader.module - The type's module or null if Java modules are not supported on the current VM.Copyright © 2014–2016. All rights reserved.