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 |
---|---|
ResettableClassFileTransformer |
make(ByteBuddy byteBuddy,
AgentBuilder.Listener listener,
AgentBuilder.PoolStrategy poolStrategy,
AgentBuilder.TypeStrategy typeStrategy,
AgentBuilder.LocationStrategy locationStrategy,
AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy,
AgentBuilder.InitializationStrategy initializationStrategy,
AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy,
AgentBuilder.DescriptionStrategy descriptionStrategy,
AgentBuilder.FallbackStrategy fallbackStrategy,
AgentBuilder.RawMatcher ignoredTypeMatcher,
AgentBuilder.Default.Transformation transformation)
Creates a new class file transformer for the current VM.
|
ResettableClassFileTransformer make(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.FallbackStrategy fallbackStrategy, AgentBuilder.RawMatcher ignoredTypeMatcher, AgentBuilder.Default.Transformation transformation)
byteBuddy
- The Byte Buddy instance to be used.listener
- The listener to notify on transformations.poolStrategy
- The type locator to use.typeStrategy
- The definition handler to use.locationStrategy
- The location strategy to use.nativeMethodStrategy
- The native method strategy to apply.initializationStrategy
- The initialization strategy to use for transformed types.bootstrapInjectionStrategy
- The injection strategy for injecting classes into the bootstrap class loader.descriptionStrategy
- The description strategy for resolving type descriptions for types.fallbackStrategy
- The fallback strategy to use.ignoredTypeMatcher
- Identifies types that should not be instrumented.transformation
- The transformation object for handling type transformations.Copyright © 2014–2016. All rights reserved.