org.codehaus.aspectwerkz.hook
Interface ClassPreProcessor
- All Known Implementing Classes:
- AspectWerkzPreProcessor, StdoutPreProcessor
public interface ClassPreProcessor
Implement to be a class PreProcessor in the AspectWerkz univeral loading architecture.
A single instance of the
class implementing this interface is build during the java.lang.ClassLoader initialization or just before the first
class loads, bootclasspath excepted. Thus there is a single instance the of ClassPreProcessor per JVM.
Use the
-Daspectwerkz.classloader.preprocessor
option to specify which class preprocessor to use.
- Author:
- Alexandre Vasseur
- See Also:
ProcessStarter
initialize
void initialize()
preProcess
byte[] preProcess(String klass,
byte[] abyte,
ClassLoader caller)
Copyright © 2002-2005 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.