public class Main extends Object
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
static void |
agentmain(String args,
Instrumentation inst)
This method only calls the premain
|
static void |
premain(String agentArgs,
Instrumentation inst)
Premain method is executed when the agent is loaded.
|
public static void premain(String agentArgs, Instrumentation inst)
agentArgs
- arguments with parameters for listenerinst
- instance of instrumentation of given VMpublic static void agentmain(String args, Instrumentation inst)
args
- arguments with parameters for listenerinst
- instance of instrumentation of given VMCopyright © 2019. All Rights Reserved.