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

Method Summary
 void initialize(Hashtable hashtable)
           
 byte[] preProcess(String klass, byte[] abyte, ClassLoader caller)
           
 

Method Detail

initialize

public void initialize(Hashtable hashtable)

preProcess

public byte[] preProcess(String klass,
                         byte[] abyte,
                         ClassLoader caller)


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