[JBoss-user] [Javassist user questions] - Re: javassist.ClassPool should extend the ClassLoader or URL

2004-05-06 Thread jbm4ever
Sorry for responding so late I thought the issue was dead I am not really proud of my coding skills and i am working my way throug commenting the code by you can find my classloader at: http://catspeed.sourceforge.net As catspeedCL.jar (in catspeed.tar.gz) which includes source code I have tri

[JBoss-user] [Javassist user questions] - Re: javassist.ClassPool should extend the ClassLoader or URL

2004-04-01 Thread jbm4ever
Just being a pest .. Ok looking at org.jboss.mx.loading I can see that a lot of work has gone into making classloading work in jboss. Javassist beeing a subproject of jboss should of course respect the jboss strategies. But still it seems to me that it would make sense to have a general way to

[JBoss-user] [Javassist user questions] - Re: javassist.ClassPool should extend the ClassLoader or URL

2004-03-30 Thread jbm4ever
But above the JDK in the API means letting the ClassLoader implement something like the java.lang.instrument.Instrumentation interface By having the standard classloaders used by the server in normal mode as default, and then suclassing them with an implementation of the interface, it could be a

[JBoss-user] [Javassist user questions] - Re: javassist.ClassPool should extend the ClassLoader or URL

2004-03-30 Thread jbm4ever
I think a general solution could be letting the ClassPool implement some sort of listener listening for "ClassLoadEvent"s The ClassLoader should then be able to accept listeners and make synchronous calls to the listeners when loading a class. The registering could be with some sort of Regex S

[JBoss-user] [Javassist user questions] - javassist.ClassPool should extend the ClassLoader or URLClas

2004-03-20 Thread jbm4ever
Dear Javassist Users and Developers Thank you for an excellent tool A suggestion: I have tried using Javassist to make a tool for Tomcat and it seems to me that the ClassPool as a sideeffect og its purpose of keeping the classes together, really is a ClassLoader that caches loaded (and modifie