org.springsource.loaded.agent
Class SpringLoadedAgent

java.lang.Object
  extended by org.springsource.loaded.agent.SpringLoadedAgent

public class SpringLoadedAgent
extends java.lang.Object

Basic agent implementation. This agent is declared in the META-INF/MANIFEST.MF file - that is how it is 'plugged in' to the JVM when '-javaagent:springloaded.jar' is used.


Constructor Summary
SpringLoadedAgent()
           
 
Method Summary
static void agentmain(java.lang.String options, java.lang.instrument.Instrumentation inst)
           
static java.lang.instrument.Instrumentation getInstrumentation()
          Returns the Instrumentation instance
static void premain(java.lang.String options, java.lang.instrument.Instrumentation inst)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringLoadedAgent

public SpringLoadedAgent()
Method Detail

premain

public static void premain(java.lang.String options,
                           java.lang.instrument.Instrumentation inst)

agentmain

public static void agentmain(java.lang.String options,
                             java.lang.instrument.Instrumentation inst)

getInstrumentation

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