public class ClassPathAgent extends Object
Constructor and Description |
---|
ClassPathAgent() |
Modifier and Type | Method and Description |
---|---|
static void |
addJarFile(JarFile file)
Adds a JAR file to the system class loader.
|
static void |
agentmain(String agentArgs,
Instrumentation instrumentation) |
public static void agentmain(String agentArgs, Instrumentation instrumentation)
public static void addJarFile(JarFile file)
file
- The JAR file to add to the class loader.Copyright © 2021. All rights reserved.