public static interface AgentBuilder.Identified.Extendable extends AgentBuilder, AgentBuilder.Identified
AgentBuilder.Transformer
to applied when a matcher identifies a type
to be instrumented. Any subsequent transformers are applied in the order they are registered.AgentBuilder.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.TypeStrategy
AgentBuilder.Identified.Extendable, AgentBuilder.Identified.Narrowable
Modifier and Type | Method and Description |
---|---|
AgentBuilder |
asDecorator()
Applies the specified transformation as a decorative transformation.
|
assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableBootstrapInjection, disableClassFormatChanges, disableNativeMethodPrefix, enableBootstrapInjection, enableNativeMethodPrefix, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, type, type, type, type, with, with, with, with, with, with, with, with, with, with, with, with
transform
AgentBuilder asDecorator()
Applies the specified transformation as a decorative transformation. For a decorative transformation, the supplied transformer is prepended to any previous transformation that also matches the instrumented type, i.e. both transformations are supplied. This procedure is repeated until a transformer is reached that matches the instrumented type but is not defined as decorating after which no further transformations are considered. If all matching transformations are declared as decorating, all matching transformers are applied.
Note: A decorating transformer is applied after previously registered transformers.
Copyright © 2014–2016. All rights reserved.