public class ExperimentAgent extends Object
Constructor and Description |
---|
ExperimentAgent() |
Modifier and Type | Method and Description |
---|---|
static void |
agentmain(String args,
Instrumentation inst)
JVM hook to dynamically load javaagent at runtime.
|
static void |
initialise()
Programmatic hook to dynamically load
CitationAgent at runtime. |
static boolean |
isLoaded()
Is the agent loaded?
|
static void |
premain(String args,
Instrumentation inst)
JVM hook to statically load the javaagent at startup.
|
public ExperimentAgent()
public static void premain(String args, Instrumentation inst) throws Exception
args
- inst
- Exception
public static void agentmain(String args, Instrumentation inst) throws Exception
args
- inst
- Exception
public static void initialise() throws IOException
CitationAgent
at runtime.IOException
- if an error occurspublic static boolean isLoaded()