protected static class AgentBuilder.Default.Redefining extends AgentBuilder.Default implements AgentBuilder.RedefinitionListenable.WithoutBatchStrategy
AgentBuilder.Default.BootstrapInjectionStrategy, AgentBuilder.Default.Delegator<T extends AgentBuilder.Matchable<T>>, AgentBuilder.Default.ExecutingTransformer, AgentBuilder.Default.Ignoring, AgentBuilder.Default.NativeMethodStrategy, AgentBuilder.Default.Redefining, AgentBuilder.Default.Transformation, AgentBuilder.Default.TransformingAgentBuilder.RedefinitionListenable.WithoutBatchStrategyAgentBuilder.CircularityLock, AgentBuilder.Default, AgentBuilder.DescriptionStrategy, AgentBuilder.FallbackStrategy, AgentBuilder.Identified, AgentBuilder.Ignored, AgentBuilder.InitializationStrategy, AgentBuilder.InstallationStrategy, AgentBuilder.LambdaInstrumentationStrategy, AgentBuilder.Listener, AgentBuilder.LocationStrategy, AgentBuilder.Matchable<T extends AgentBuilder.Matchable<T>>, AgentBuilder.PoolStrategy, AgentBuilder.RawMatcher, AgentBuilder.RedefinitionListenable, AgentBuilder.RedefinitionStrategy, AgentBuilder.Transformer, AgentBuilder.TypeStrategybootstrapInjectionStrategy, byteBuddy, circularityLock, descriptionStrategy, fallbackStrategy, ignoredTypeMatcher, initializationStrategy, installationStrategy, lambdaInstrumentationStrategy, listener, locationStrategy, nativeMethodStrategy, poolStrategy, redefinitionBatchAllocator, redefinitionListener, redefinitionStrategy, transformation, typeStrategy| Modifier and Type | Method and Description |
|---|---|
AgentBuilder.RedefinitionListenable |
with(AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator)
A batch allocator is responsible for diving a redefining of existing types into several chunks.
|
AgentBuilder.RedefinitionListenable |
with(AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
A redefinition listener is invoked before each batch of type redefinitions and on every error as well as
after the redefinition was completed.
|
assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableBootstrapInjection, disableClassFormatChanges, disableNativeMethodPrefix, enableBootstrapInjection, enableNativeMethodPrefix, enableUnsafeBootstrapInjection, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, of, of, of, of, type, type, type, type, with, with, with, with, with, with, with, with, with, with, with, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableBootstrapInjection, disableClassFormatChanges, disableNativeMethodPrefix, enableBootstrapInjection, enableNativeMethodPrefix, enableUnsafeBootstrapInjection, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, type, type, type, type, with, with, with, with, with, with, with, with, with, with, with, withprotected Redefining(ByteBuddy byteBuddy, AgentBuilder.Listener listener, AgentBuilder.CircularityLock circularityLock, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.TypeStrategy typeStrategy, AgentBuilder.LocationStrategy locationStrategy, AgentBuilder.Default.NativeMethodStrategy nativeMethodStrategy, AgentBuilder.InitializationStrategy initializationStrategy, AgentBuilder.RedefinitionStrategy redefinitionStrategy, AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator, AgentBuilder.RedefinitionStrategy.Listener redefinitionListener, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, AgentBuilder.LambdaInstrumentationStrategy lambdaInstrumentationStrategy, AgentBuilder.DescriptionStrategy descriptionStrategy, AgentBuilder.InstallationStrategy installationStrategy, 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.circularityLock - The circularity lock to use.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.redefinitionStrategy - The redefinition strategy to apply.redefinitionBatchAllocator - The batch allocator for the redefinition strategy to apply.redefinitionListener - The redefinition listener for the redefinition strategy to apply.bootstrapInjectionStrategy - The injection strategy for injecting classes into the bootstrap class loader.lambdaInstrumentationStrategy - A strategy to determine of the LambdaMetafactory should be instrumented to allow for the
instrumentation of classes that represent lambda expressions.descriptionStrategy - The description strategy for resolving type descriptions for types.installationStrategy - The installation strategy to use.fallbackStrategy - The fallback strategy to apply.ignoredTypeMatcher - Identifies types that should not be instrumented.transformation - The transformation object for handling type transformations.public AgentBuilder.RedefinitionListenable with(AgentBuilder.RedefinitionStrategy.BatchAllocator redefinitionBatchAllocator)
AgentBuilder.RedefinitionListenable.WithoutBatchStrategyAgentBuilder.RedefinitionStrategy.Listener
action between chunks.with in interface AgentBuilder.RedefinitionListenable.WithoutBatchStrategyredefinitionBatchAllocator - The batch allocator to use.public AgentBuilder.RedefinitionListenable with(AgentBuilder.RedefinitionStrategy.Listener redefinitionListener)
AgentBuilder.RedefinitionListenableA redefinition listener is invoked before each batch of type redefinitions and on every error as well as after the redefinition was completed. A redefinition listener can be used for debugging or logging purposes and to apply actions between each batch, e.g. to pause or wait in order to avoid rendering the current VM non-responsive if a lot of classes are redefined.
Adding several listeners does not replace previous listeners but applies them in the registration order.
with in interface AgentBuilder.RedefinitionListenableredefinitionListener - The listener to register.Copyright © 2014–2017. All rights reserved.