org.softevo.jdynpur.runtime
Class OnTheFlyInstrumenter

java.lang.Object
  extended by org.softevo.jdynpur.runtime.OnTheFlyInstrumenter
All Implemented Interfaces:
java.lang.instrument.ClassFileTransformer

public class OnTheFlyInstrumenter
extends java.lang.Object
implements java.lang.instrument.ClassFileTransformer


Field Summary
static java.lang.String TRACECLASSNAME
           
 
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
 

Field Detail

TRACECLASSNAME

public static java.lang.String TRACECLASSNAME
Method Detail

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.