public static interface AgentBuilder.TypeLocator
TypeDescription
s are resolved by an AgentBuilder
.Modifier and Type | Interface and Description |
---|---|
static class |
AgentBuilder.TypeLocator.ClassLoading
A type locator that loads referenced classes instead of describing unloaded versions.
|
static class |
AgentBuilder.TypeLocator.Default
A default implementation of a
AgentBuilder.TypeLocator that
is using a TypePool.Default with a
TypePool.CacheProvider.Simple and a
ClassFileLocator.ForClassLoader . |
static class |
AgentBuilder.TypeLocator.WithTypePoolCache
A type locator that uses type pools but allows for the configuration of a custom cache provider by class loader.
|
Modifier and Type | Method and Description |
---|---|
TypePool |
typePool(ClassFileLocator classFileLocator,
ClassLoader classLoader)
Creates a type pool for a given class file locator.
|
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.