org.codehaus.aspectwerkz.hook.impl
Class ClassLoaderPreProcessorImpl
java.lang.Object
org.codehaus.aspectwerkz.hook.impl.ClassLoaderPreProcessorImpl
- All Implemented Interfaces:
- ClassLoaderPreProcessor
- public class ClassLoaderPreProcessorImpl
- extends Object
- implements ClassLoaderPreProcessor
Instruments the java.lang.ClassLoader to plug in the Class PreProcessor mechanism using Javassist.
We are using a
lazy initialization of the class preprocessor to allow all class pre processor logic to be in system classpath and
not in bootclasspath. This implementation should support IBM custom JRE
- Author:
- Alexandre Vasseur
Method Summary |
static void |
main(String[] args)
main test |
byte[] |
preProcess(byte[] b)
instruments the java.lang.ClassLoader bytecode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassLoaderPreProcessorImpl
public ClassLoaderPreProcessorImpl()
preProcess
public byte[] preProcess(byte[] b)
- Description copied from interface:
ClassLoaderPreProcessor
- instruments the java.lang.ClassLoader bytecode
- Specified by:
preProcess
in interface ClassLoaderPreProcessor
main
public static void main(String[] args)
throws Exception
- main test
- Throws:
Exception
Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.