Re: Using Classloaders to dynamically instrument anything

2004-01-02 Thread Bil Lewis
Alex, It works! Yee-ha! Thank you, thank you, thank you! -Bil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using Classloaders to dynamically instrument anything

2003-12-29 Thread Alex
Bil For a custom classloader implementing bytecode instrumentation, the BCEL sample or the AspectWerkz WeavingClassLoader are suitable. But you cannot rely on them to work with user defined class loaders, and as you pointed it, to work with scheme where bytecode is somewhere (over the networrk or

Re: Using Classloaders to dynamically instrument anything

2003-12-28 Thread Bil Lewis
Alex, Thank you for your advice! It makes sense, although I don't quite understand what's going on... My current classloader is based on the BCEL example code. It works fine, except for when the user uses his own classloader. Unfortunately, I don't totally understand why they wrote it that way

Re: Using Classloaders to dynamically instrument anything

2003-12-27 Thread Alex
Hi Bil Check how we do that in AspectWerkz by replacing the core java.lang.ClassLoader when possible, and providing many option to feet users needs and environment, since hotswapping the java.lang.ClassLoader is not always possible. http://aspectwerkz.codehaus.org/online.html http://aspectwerkz.co