public final class Agent extends Object
| Constructor and Description |
|---|
Agent() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(String arguments,
Instrumentation instrumentation)
Dynamically load the agent at runtime.
|
static void |
premain(String arguments,
Instrumentation instrumentation)
Statically load the agent at startup.
|
public static void agentmain(String arguments, Instrumentation instrumentation) throws Exception
arguments - instrumentation - Exceptionpublic static void premain(String arguments, Instrumentation instrumentation) throws Exception
arguments - instrumentation - ExceptionCopyright © 2009–2014 Konverge.io. All rights reserved.