public interface JavaAgentClassRegister
Modifier and Type | Method and Description |
---|---|
void |
clear()
Remove all registered classes for all class loaders.
|
boolean |
isModifiedByAgent(java.lang.ClassLoader classLoader,
java.lang.String className)
Check if class with
className has been modified for the given class loader |
void |
registerClass(java.lang.ClassLoader loader,
java.lang.String className)
Register that the class with name
className has been modified for the given class loader. |
boolean isModifiedByAgent(java.lang.ClassLoader classLoader, java.lang.String className)
className
has been modified for the given class loaderclassLoader
- - ClassLoader
for that class should be checkedclassName
- - name of classtrue
if the given class has been modified, otherwise false
void registerClass(java.lang.ClassLoader loader, java.lang.String className)
className
has been modified for the given class loader.loader
- - ClassLoader
for that class has been modified.className
- - name of the class which has been modified.void clear()