public final class PreMain extends Object
Premain-Class
. The agent
configuration is provided with the agent parameters in the command line.Modifier and Type | Method and Description |
---|---|
static void |
premain(String options,
Instrumentation inst)
This method is called by the JVM to initialize Java agents.
|
public static void premain(String options, Instrumentation inst) throws Exception
options
- agent optionsinst
- instrumentation callback provided by the JVMException
- in case initialization failsCopyright © 2023. All rights reserved.