org.softevo.jdynpur.runtime
Class OnTheFlyInstrumenter
java.lang.Object
org.softevo.jdynpur.runtime.OnTheFlyInstrumenter
- All Implemented Interfaces:
- java.lang.instrument.ClassFileTransformer
public class OnTheFlyInstrumenter
- extends java.lang.Object
- implements java.lang.instrument.ClassFileTransformer
Method Summary |
static OnTheFlyInstrumenter |
getInstance()
|
static void |
premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation inst)
|
static void |
redefineClasses(java.lang.instrument.Instrumentation inst)
|
byte[] |
transform(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.Class<?> classBeingRedefined,
java.security.ProtectionDomain protectionDomain,
byte[] classBytes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRACECLASSNAME
public static java.lang.String TRACECLASSNAME
getInstance
public static OnTheFlyInstrumenter getInstance()
premain
public static void premain(java.lang.String agentArgs,
java.lang.instrument.Instrumentation inst)
redefineClasses
public static void redefineClasses(java.lang.instrument.Instrumentation inst)
transform
public byte[] transform(java.lang.ClassLoader loader,
java.lang.String className,
java.lang.Class<?> classBeingRedefined,
java.security.ProtectionDomain protectionDomain,
byte[] classBytes)
throws java.lang.instrument.IllegalClassFormatException
- Specified by:
transform
in interface java.lang.instrument.ClassFileTransformer
- Throws:
java.lang.instrument.IllegalClassFormatException
Copyright © 2007-2008 Software Engineering Group at Saarland University. All Rights Reserved.