public class JavaAgentEnhancer extends Object
ObjectCallback or
GlobalCallback annotation.| Constructor and Description |
|---|
JavaAgentEnhancer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
premain(String args,
Instrumentation instrumentation)
Premain method that registers this class as ClassFileTransformer
|
public static void premain(String args, Instrumentation instrumentation)
args - arguments passed to javaagent, ignoredinstrumentation - Instrumentation objectCopyright © 2014–2015. All rights reserved.