public class AgentTransformer extends Object implements ClassFileTransformer
| Modifier and Type | Field and Description |
|---|---|
protected static List<IASM> |
asms |
static ThreadLocal<ClassLoader> |
hookingCtx |
static String |
JAVA_UTIL_MAP |
| Constructor and Description |
|---|
AgentTransformer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
reload() |
byte[] |
transform(ClassLoader loader,
String className,
Class classBeingRedefined,
ProtectionDomain protectionDomain,
byte[] classfileBuffer) |
public static final String JAVA_UTIL_MAP
public static ThreadLocal<ClassLoader> hookingCtx
public static void reload()
public byte[] transform(ClassLoader loader, String className, Class classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) throws IllegalClassFormatException
transform in interface ClassFileTransformerIllegalClassFormatExceptionCopyright © 2021. All rights reserved.