public class TestRecorderAgent extends Object
Constructor and Description |
---|
TestRecorderAgent(Instrumentation inst,
AgentConfiguration config) |
TestRecorderAgent(Instrumentation inst,
AgentConfiguration config,
List<Class<? extends AttachableClassFileTransformer>> transformerClasses) |
Modifier and Type | Method and Description |
---|---|
static void |
agentmain(String agentArgs,
Instrumentation inst) |
void |
clearInstrumentations() |
AgentConfiguration |
getConfig() |
AttachableClassFileTransformer |
instantiate(Class<? extends AttachableClassFileTransformer> clazz) |
protected static AgentConfiguration |
loadConfig(String agentArgs) |
static void |
premain(String agentArgs,
Instrumentation inst) |
void |
prepareInstrumentations() |
void |
withoutInstrumentation(Runnable runnable) |
public TestRecorderAgent(Instrumentation inst, AgentConfiguration config, List<Class<? extends AttachableClassFileTransformer>> transformerClasses)
public TestRecorderAgent(Instrumentation inst, AgentConfiguration config)
public AgentConfiguration getConfig()
public static void agentmain(String agentArgs, Instrumentation inst)
public static void premain(String agentArgs, Instrumentation inst)
protected static AgentConfiguration loadConfig(String agentArgs)
public void prepareInstrumentations()
public AttachableClassFileTransformer instantiate(Class<? extends AttachableClassFileTransformer> clazz)
public void clearInstrumentations()
public void withoutInstrumentation(Runnable runnable)
Copyright © 2020. All rights reserved.