com.uwyn.rife.instrument
Class InitialTransformer

java.lang.Object
  extended by com.uwyn.rife.instrument.RifeTransformer
      extended by com.uwyn.rife.instrument.InitialTransformer
All Implemented Interfaces:
ClassFileTransformer

public class InitialTransformer
extends RifeTransformer

This is a no-op transformer that is just used to output the initial bytecode of classes that will be instrumented when the "rife.instrumentation.dump" system property is set.

Since:
1.6
Version:
$Revision: 3811 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)

Constructor Summary
InitialTransformer()
           
 
Method Summary
protected  byte[] transformRife(ClassLoader loader, String className, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer)
          This transform method will only be called when the class is not part of a core package.
 
Methods inherited from class com.uwyn.rife.instrument.RifeTransformer
transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialTransformer

public InitialTransformer()
Method Detail

transformRife

protected byte[] transformRife(ClassLoader loader,
                               String className,
                               Class<?> classBeingRedefined,
                               ProtectionDomain protectionDomain,
                               byte[] classfileBuffer)
                        throws IllegalClassFormatException
Description copied from class: RifeTransformer
This transform method will only be called when the class is not part of a core package.

For the rest it functions exactly as the regular transform method.

Specified by:
transformRife in class RifeTransformer
Throws:
IllegalClassFormatException
See Also:
RifeTransformer.transform(java.lang.ClassLoader, java.lang.String, java.lang.Class, java.security.ProtectionDomain, byte[])


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.