org.apache.openejb.javaagent
Class Agent

java.lang.Object
  extended by org.apache.openejb.javaagent.Agent

public class Agent
extends Object


Constructor Summary
Agent()
           
 
Method Summary
static void agentmain(String agentArgs, Instrumentation instrumentation)
           
static String getAgentArgs()
           
static Instrumentation getInstrumentation()
          Gets the instrumentation instance.
static void premain(String agentArgs, Instrumentation instrumentation)
           
 
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(String agentArgs,
                           Instrumentation instrumentation)

agentmain

public static void agentmain(String agentArgs,
                             Instrumentation instrumentation)

getAgentArgs

public static String getAgentArgs()

getInstrumentation

public static Instrumentation getInstrumentation()
Gets the instrumentation instance. You must have java.lang.ReflectPermission(suppressAccessChecks) to call this method

Returns:
the instrumentation instance


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.