public final class PreMain extends Object
Modifier and Type | Method and Description |
---|---|
static void |
premain(String agentArgs,
Instrumentation inst)
This method is called by the JVM to initialize Java agents.
|
public static void premain(String agentArgs, Instrumentation inst) throws Exception
agentArgs
- agent argumentsinst
- instrumentation callback provided by the JVMException
- in case initialization failsCopyright © 2010–2019 GZoltar. All rights reserved.