org.codehaus.aspectwerkz.hook
Interface ClassLoaderPreProcessor

All Known Implementing Classes:
ClassLoaderPreProcessorImpl

public interface ClassLoaderPreProcessor

Implement to be the java.lang.ClassLoader pre processor.

ProcessStarter calls once the no-arg constructor of the class implementing this interface and specified with the -Daspectwerkz.classloader.clpreprocessor option. It uses org.codehaus.aspectwerkz.hook.impl.ClassLoaderPreProcessorImpl by default, which is a Javassist implementation (since 2004 01 23).

Author:
Alexandre Vasseur
See Also:
ProcessStarter, ClassLoaderPreProcessorImpl

Method Summary
 byte[] preProcess(byte[] b)
          instruments the java.lang.ClassLoader bytecode
 

Method Detail

preProcess

public byte[] preProcess(byte[] b)
instruments the java.lang.ClassLoader bytecode



Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.