protected class AgentBuilder.Default.Transforming extends AgentBuilder.Default.Delegator<AgentBuilder.Identified.Narrowable> implements AgentBuilder.Identified.Extendable, AgentBuilder.Identified.Narrowable
AgentBuilder.Default
after supplying
a AgentBuilder.RawMatcher
such that one or several
AgentBuilder.Transformer
s can be supplied.AgentBuilder.CircularityLock, AgentBuilder.Default, AgentBuilder.DescriptionStrategy, AgentBuilder.FallbackStrategy, AgentBuilder.Identified, AgentBuilder.Ignored, AgentBuilder.InitializationStrategy, AgentBuilder.InstallationListener, 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.Matchable.AbstractBase<S extends AgentBuilder.Matchable<S>>
AgentBuilder.Identified.Extendable, AgentBuilder.Identified.Narrowable
Modifier | Constructor and Description |
---|---|
protected |
Transforming(AgentBuilder.RawMatcher rawMatcher,
AgentBuilder.Transformer transformer,
boolean decorator)
Creates a new matched default agent builder.
|
Modifier and Type | Method and Description |
---|---|
AgentBuilder.Identified.Narrowable |
and(AgentBuilder.RawMatcher rawMatcher)
Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.
|
AgentBuilder |
asDecorator()
Applies the specified transformation as a decorative transformation.
|
boolean |
equals(Object other) |
int |
hashCode() |
protected AgentBuilder |
materialize()
Materializes the currently described
AgentBuilder . |
AgentBuilder.Identified.Narrowable |
or(AgentBuilder.RawMatcher rawMatcher)
Defines a matching that is positive if the previous matcher or the supplied matcher are matched.
|
AgentBuilder.Identified.Extendable |
transform(AgentBuilder.Transformer transformer)
Applies the given transformer for the already supplied matcher.
|
assureReadEdgeFromAndTo, 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, with
and, and, and, or, or, or
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
assureReadEdgeFromAndTo, 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, with
protected Transforming(AgentBuilder.RawMatcher rawMatcher, AgentBuilder.Transformer transformer, boolean decorator)
rawMatcher
- The supplied raw matcher.transformer
- The supplied transformer.decorator
- true
if this transformer serves as a decorator.protected AgentBuilder materialize()
AgentBuilder.Default.Delegator
AgentBuilder
.materialize
in class AgentBuilder.Default.Delegator<AgentBuilder.Identified.Narrowable>
public AgentBuilder.Identified.Extendable transform(AgentBuilder.Transformer transformer)
AgentBuilder.Identified
transform
in interface AgentBuilder.Identified
transformer
- The transformer to apply.public AgentBuilder asDecorator()
AgentBuilder.Identified.Extendable
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.
asDecorator
in interface AgentBuilder.Identified.Extendable
public AgentBuilder.Identified.Narrowable and(AgentBuilder.RawMatcher rawMatcher)
AgentBuilder.Matchable
and
in interface AgentBuilder.Matchable<AgentBuilder.Identified.Narrowable>
rawMatcher
- A raw matcher for the type being matched.public AgentBuilder.Identified.Narrowable or(AgentBuilder.RawMatcher rawMatcher)
AgentBuilder.Matchable
or
in interface AgentBuilder.Matchable<AgentBuilder.Identified.Narrowable>
rawMatcher
- A raw matcher for the type being matched.Copyright © 2014–2018. All rights reserved.