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.Transformers can be supplied.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.RedefinitionStrategy, AgentBuilder.Transformer, AgentBuilder.TypeStrategyAgentBuilder.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.
|
String |
toString() |
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, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, type, type, type, type, with, with, with, with, with, with, with, with, with, with, withand, and, and, or, or, orclone, finalize, getClass, notify, notifyAll, wait, wait, waitassureReadEdgeFromAndTo, 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, withprotected 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.DelegatorAgentBuilder.materialize in class AgentBuilder.Default.Delegator<AgentBuilder.Identified.Narrowable>public AgentBuilder.Identified.Extendable transform(AgentBuilder.Transformer transformer)
AgentBuilder.Identifiedtransform in interface AgentBuilder.Identifiedtransformer - The transformer to apply.public AgentBuilder asDecorator()
AgentBuilder.Identified.ExtendableApplies 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.Extendablepublic AgentBuilder.Identified.Narrowable and(AgentBuilder.RawMatcher rawMatcher)
AgentBuilder.Matchableand 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.Matchableor in interface AgentBuilder.Matchable<AgentBuilder.Identified.Narrowable>rawMatcher - A raw matcher for the type being matched.Copyright © 2014–2016. All rights reserved.