Interface AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer

    • Method Detail

      • isEnforced

        boolean isEnforced​(java.lang.String typeName,
                           @MaybeNull
                           java.lang.ClassLoader classLoader,
                           @MaybeNull
                           JavaModule module,
                           @MaybeNull
                           java.lang.Class<?> classBeingRedefined)
        Returns true if a class should be scheduled for resubmission.
        Parameters:
        typeName - The name of the instrumented class.
        classLoader - The class loader of the instrumented class or null if the boot loader.
        module - The module of the instrumented class or null if the module system is not supported.
        classBeingRedefined - The class to be redefined or null if the current type is loaded for the first time.
        Returns:
        true if the class should be scheduled for resubmission.