org.apache.openejb.javaagent
Class Agent

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

public class Agent
extends java.lang.Object


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

getAgentArgs

public static java.lang.String getAgentArgs()

getInstrumentation

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

Returns:
the instrumentation instance


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.