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(java.util.Hashtable hashtable)
           
 byte[] preProcess(java.lang.String klass, byte[] abyte, java.lang.ClassLoader caller)
           
 

Method Detail

initialize

public void initialize(java.util.Hashtable hashtable)

preProcess

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


Copyright (c) 2002-2004 The AspectWerkz Team. All Rights Reserved.