org.apache.openejb.javaagent
Class Agent
java.lang.Object
org.apache.openejb.javaagent.Agent
public class Agent
- extends java.lang.Object
Constructor Summary |
Agent()
|
Method Summary |
static void |
agentmain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation instrumentation)
|
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 |
Agent
public Agent()
premain
public static void premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation instrumentation)
agentmain
public static void agentmain(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-2011 The Apache OpenEJB development community. All Rights Reserved.