public class DynamicAgent extends Object
| Constructor and Description |
|---|
DynamicAgent() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(String agentArgs,
Instrumentation inst) |
static byte[] |
getClassBytes(String classPath)
读取 Class 的 byte 字节
|
static Instrumentation |
getInstrumentation() |
public static void agentmain(String agentArgs, Instrumentation inst)
public static byte[] getClassBytes(String classPath)
classPath - 类路径public static Instrumentation getInstrumentation()
Copyright © 2020 Voovan. All rights reserved.