public class SimplesAgent
extends java.lang.Object
| Constructor | Description |
|---|---|
SimplesAgent() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
agentmain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation inst) |
If the agent is attached to an already running JVM,
this method is invoked.
|
static void |
premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation inst) |
If the agent is attached to a JVM on the start,
this method is invoked before
main method is called. |
public static void premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation inst)
main method is called.agentArgs - Agent command line arguments.inst - An object to access the JVM instrumentation mechanism.public static void agentmain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation inst)
agentArgs - Agent command line arguments.inst - An object to access the JVM instrumentation mechanism.Copyright © 2018. All Rights Reserved.