org.aspectj.weaver.loadtime
Class Agent

java.lang.Object
  extended by org.aspectj.weaver.loadtime.Agent

public class Agent
extends java.lang.Object

Java 1.5 preMain agent to hook in the class pre processor Can be used with -javaagent:aspectjweaver.jar


Constructor Summary
Agent()
           
 
Method Summary
static java.lang.instrument.Instrumentation getInstrumentation()
          Returns the Instrumentation system level instance
static void premain(java.lang.String options, java.lang.instrument.Instrumentation instrumentation)
          JSR-163 preMain Agent entry method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Agent

public Agent()
Method Detail

premain

public static void premain(java.lang.String options,
                           java.lang.instrument.Instrumentation instrumentation)
JSR-163 preMain Agent entry method

Parameters:
options -
instrumentation -

getInstrumentation

public static java.lang.instrument.Instrumentation getInstrumentation()
Returns the Instrumentation system level instance