Interface AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher

All Known Implementing Classes:
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction, AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction, AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers, AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial
Enclosing interface:
AgentBuilder.RedefinitionListenable

public static interface AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher
A matcher that determines if types should be resubmitted if it is not yet loaded.
  • Method Details

    • matches

      boolean matches(String typeName, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module)
      Returns true if a type should be resubmitted if it is not yet loaded.
      Parameters:
      typeName - The name of the instrumented type.
      classLoader - The class loader of the instrumented type or null if the type is loaded by the bootstrap class loader.
      module - The module of the instrumented type or null if the current VM does not support modules.
      Returns:
      true if the type should be resubmitted.