public class CitationAgent extends Object
Constructor and Description |
---|
CitationAgent() |
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 CitationAgent()
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()