protected static interface AgentBuilder.Default.ExecutingTransformer.Factory
ClassFileTransformer
for the current VM.Modifier and Type | Interface and Description |
---|---|
static class |
AgentBuilder.Default.ExecutingTransformer.Factory.ForJava9CapableVm
A factory for a class file transformer on a JVM that supports the
java.lang.reflect.Module API to override
the newly added method of the ClassFileTransformer to capture an instrumented class's module. |
static class |
AgentBuilder.Default.ExecutingTransformer.Factory.ForLegacyVm
A factory for a
ClassFileTransformer on a VM that does not support the java.lang.reflect.Module API. |
Modifier and Type | Method and Description |
---|---|
ClassFileTransformer |
make(ByteBuddy byteBuddy,
AgentBuilder.TypeLocator typeLocator,
AgentBuilder.TypeStrategy typeStrategy,
AgentBuilder.Listener listener,
AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy,
AccessControlContext accessControlContext,
AgentBuilder.InitializationStrategy initializationStrategy,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AgentBuilder.RawMatcher ignoredTypeMatcher,
AgentBuilder.Default.Transformation transformation)
Creates a new class file transformer for the current VM.
|
ClassFileTransformer make(ByteBuddy byteBuddy, AgentBuilder.TypeLocator typeLocator, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.Listener listener, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AccessControlContext accessControlContext, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, AgentBuilder.RawMatcher ignoredTypeMatcher, AgentBuilder.Default.Transformation transformation)
byteBuddy
- The Byte Buddy instance to be used.typeLocator
- The type locator to use.typeStrategy
- The definition handler to use.listener
- The listener to notify on transformations.nativeMethodStrategy
- The native method strategy to apply.accessControlContext
- The access control context to use for loading classes.initializationStrategy
- The initialization strategy to use for transformed types.bootstrapInjectionStrategy
- The injection strategy for injecting classes into the bootstrap class loader.ignoredTypeMatcher
- Identifies types that should not be instrumented.transformation
- The transformation object for handling type transformations.Copyright © 2014–2016. All rights reserved.