Package net.bytebuddy.agent.builder
Interface AgentBuilder.RedefinitionListenable.WithImplicitDiscoveryStrategy
-
- All Superinterfaces:
AgentBuilder
,AgentBuilder.RedefinitionListenable
- All Known Subinterfaces:
AgentBuilder.RedefinitionListenable.WithoutBatchStrategy
- All Known Implementing Classes:
AgentBuilder.Default.Redefining
- Enclosing interface:
- AgentBuilder.RedefinitionListenable
public static interface AgentBuilder.RedefinitionListenable.WithImplicitDiscoveryStrategy extends AgentBuilder.RedefinitionListenable
An agent builder configuration strategy that allows the definition of a discovery strategy.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder
AgentBuilder.CircularityLock, AgentBuilder.ClassFileBufferStrategy, AgentBuilder.Default, AgentBuilder.DescriptionStrategy, AgentBuilder.FallbackStrategy, AgentBuilder.Identified, AgentBuilder.Ignored, AgentBuilder.InitializationStrategy, AgentBuilder.InjectionStrategy, 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.TransformerDecorator, AgentBuilder.TypeStrategy
-
Nested classes/interfaces inherited from interface net.bytebuddy.agent.builder.AgentBuilder.RedefinitionListenable
AgentBuilder.RedefinitionListenable.WithImplicitDiscoveryStrategy, AgentBuilder.RedefinitionListenable.WithoutBatchStrategy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentBuilder.RedefinitionListenable
redefineOnly(java.lang.Class<?>... type)
Limits the redefinition attempt to the specified types.AgentBuilder.RedefinitionListenable
with(AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy)
A discovery strategy is responsible for locating loaded types that should be considered for redefinition.-
Methods inherited from interface net.bytebuddy.agent.builder.AgentBuilder
assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableClassFormatChanges, disableNativeMethodPrefix, enableNativeMethodPrefix, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, patchOn, patchOnByteBuddyAgent, type, type, type, type, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with
-
Methods inherited from interface net.bytebuddy.agent.builder.AgentBuilder.RedefinitionListenable
with, withResubmission, withResubmission, withResubmission
-
-
-
-
Method Detail
-
redefineOnly
AgentBuilder.RedefinitionListenable redefineOnly(java.lang.Class<?>... type)
Limits the redefinition attempt to the specified types.- Parameters:
type
- The types to consider for redefinition.- Returns:
- A new instance of this agent builder which only considers the supplied types for redefinition.
-
with
AgentBuilder.RedefinitionListenable with(AgentBuilder.RedefinitionStrategy.DiscoveryStrategy redefinitionDiscoveryStrategy)
A discovery strategy is responsible for locating loaded types that should be considered for redefinition.- Parameters:
redefinitionDiscoveryStrategy
- The redefinition discovery strategy to use.- Returns:
- A new instance of this agent builder which makes use of the specified discovery strategy.
-
-