org.iqual.chaplin
Class InstrumentationTransformer

java.lang.Object
  extended by org.iqual.chaplin.InstrumentationTransformer
All Implemented Interfaces:
ClassFileTransformer

public class InstrumentationTransformer
extends Object
implements ClassFileTransformer

This is the Java instrumentation class file transformer installed by the Agent class in its premain method.

Since:
Mar 5, 2009 8:41:21 PM
Author:
Zbynek Slajchrt

Constructor Summary
InstrumentationTransformer(List<String> packages)
           
 
Method Summary
 byte[] transform(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentationTransformer

public InstrumentationTransformer(List<String> packages)
Method Detail

transform

public byte[] transform(ClassLoader loader,
                        String className,
                        Class<?> classBeingRedefined,
                        ProtectionDomain protectionDomain,
                        byte[] classfileBuffer)
                 throws IllegalClassFormatException
Specified by:
transform in interface ClassFileTransformer
Throws:
IllegalClassFormatException


Copyright © 2009 iquality.org. All Rights Reserved.