lombok
Interface JvmAgent
public interface JvmAgent
Generates a public static void agentmain and public static void premain method that constructs a new
object of your type and then calls the runAgent(boolean, String, Instrumentation) method on it.
runAgent
void runAgent(boolean injected,
String params,
Instrumentation instrumentation)
throws Throwable
- Entry point of your JVM agent
- Parameters:
injected - true if live-injected otherwise falseparams - parameters passed in to the agentinstrumentation - the instrumentation class
- Throws:
Throwable
Copyright © 2010-2011 Philipp Eichhorn, licensed under the MIT licence.