public static interface AgentBuilder.BinaryLocator
AgentBuilder
.Modifier and Type | Interface and Description |
---|---|
static class |
AgentBuilder.BinaryLocator.ClassLoading
A binary locator that loads referenced classes instead of describing unloaded versions.
|
static class |
AgentBuilder.BinaryLocator.Default
A default implementation of a
AgentBuilder.BinaryLocator that
is using a TypePool.Default with a
TypePool.CacheProvider.Simple and a
ClassFileLocator.ForClassLoader . |
static class |
AgentBuilder.BinaryLocator.WithTypePoolCache
A binary locator that uses type pools but allows for the configuration of a custom cache provider by class loader.
|
Modifier and Type | Method and Description |
---|---|
ClassFileLocator |
classFileLocator(ClassLoader classLoader)
Creates a class file locator for the given class loader.
|
TypePool |
typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader)
Creates a type pool for a given class file locator.
|
ClassFileLocator classFileLocator(ClassLoader classLoader)
classLoader
- The class loader for which a class file locator should be created.
Can be null
to represent the bootstrap class loader.TypePool typePool(ClassFileLocator classFileLocator, ClassLoader classLoader)
classFileLocator
- The class file locator to use.classLoader
- The class loader for which the class file locator was created.Copyright © 2014–2016. All rights reserved.