de.twenty11.unitprofile.agent
Class Agent
java.lang.Object
de.twenty11.unitprofile.agent.Agent
public class Agent
- extends Object
A javaagent providing a premain method which adds the ProfilingClassFileTransformer to the provided
Instrumentation class.
The ProfilingClassFileTransformer will search for Profile-annotated test methods and will add
profiling instrumentation to all the code "below" that methods.
The whole process is done in a couple of steps:
1) Instrumentation: see ProfilingClassFileTransformer 2) Profiling: see ProfilingCallback 3)
Calculation 4) Output Rendering *
|
Constructor Summary |
Agent()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Agent
public Agent()
premain
public static void premain(String agentArgs,
Instrumentation inst)
getInstrumentations
public static List<MethodDescriptor> getInstrumentations()
setRootInvocation
public static void setRootInvocation(MethodInvocation rootInvocation)
getRootInvocation
public static MethodInvocation getRootInvocation()
Copyright © 2013. All rights reserved.