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