public final class ExposeInstrumentation extends Object
Constructor and Description |
---|
ExposeInstrumentation() |
Modifier and Type | Method and Description |
---|---|
static Instrumentation |
getInstrumentation()
Provide access to the
Instrumentation . |
static void |
premain(String arguments,
Instrumentation instrumentation)
Remember the
Instrumentation . |
public static void premain(String arguments, Instrumentation instrumentation)
Instrumentation
.arguments
- Arguments passed to the agent.instrumentation
- The JRE supplies this.public static Instrumentation getInstrumentation()
Instrumentation
.Instrumentation
.Copyright © 2000-2014. All Rights Reserved.