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.
  • Method Details

    • redefineOnly

      AgentBuilder.RedefinitionListenable redefineOnly(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

      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.