lombok-pg -

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.


Method Summary
 void runAgent(boolean injected, String params, Instrumentation instrumentation)
          Entry point of your JVM agent
 

Method Detail

runAgent

void runAgent(boolean injected,
              String params,
              Instrumentation instrumentation)
              throws Throwable
Entry point of your JVM agent

Parameters:
injected - true if live-injected otherwise false
params - parameters passed in to the agent
instrumentation - the instrumentation class
Throws:
Throwable

lombok-pg -

Copyright © 2010-2011 Philipp Eichhorn, licensed under the MIT licence.