protected static interface AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer
| Modifier and Type | Interface and Description |
|---|---|
static class |
AgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled
A resubmission enforcer that does not consider non-loaded classes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnforced(String typeName,
ClassLoader classLoader,
JavaModule module,
Class<?> classBeingRedefined)
Returns
true if a class should be scheduled for resubmission. |
boolean isEnforced(String typeName, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module, @MaybeNull Class<?> classBeingRedefined)
true if a class should be scheduled for resubmission.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.true if the class should be scheduled for resubmission.Copyright © 2014–2025. All rights reserved.