mirror of https://github.com/mchr3k/org.intrace
22 lines
362 B
Java
22 lines
362 B
Java
package gb.testinstru;
|
|
|
|
import java.lang.instrument.Instrumentation;
|
|
|
|
/**
|
|
* Test Agent
|
|
*/
|
|
public class Agent
|
|
{
|
|
/**
|
|
* Agent called on JVM init.
|
|
* @param agentArgs
|
|
* @param inst
|
|
* @throws IOException
|
|
*/
|
|
public static void premain(String agentArgs, Instrumentation inst)
|
|
{
|
|
System.out.println("Loaded Agent.");
|
|
}
|
|
}
|
|
|