com.bea.jvm
Interface ClassPreProcessor


public interface ClassPreProcessor

The interface implemented by a class preprocessor.


Method Summary
 byte[] preProcess(java.lang.ClassLoader classLoader, java.lang.String className, byte[] classBytes)
          Pre-process the class bytes of a class with a given name.
 

Method Detail

preProcess

byte[] preProcess(java.lang.ClassLoader classLoader,
                  java.lang.String className,
                  byte[] classBytes)
Pre-process the class bytes of a class with a given name.

Parameters:
classLoader - the defining ClassLoader.
className - the qualified name of the class to pre-process (possibly null).
classBytes - the byte codes of the class.
Returns:
the newly transformed bytecodes or classBytes if no transform is done.