Hi , 

I know that it is not the right place to ask this question but I'm sure you've got the 
solution.

I'd like to know if it is possible to load a class that is already loaded or to remove 
from the classloader a loaded class ? 

Indeed, I've got  3 classes with the same name and prototypes (methods ...) but not in 
the same package. 
So I'd like to load the class dynamically, depends on a property files which inform 
the package.
So, the first time I load class a.Bat (and change the name to b.Bat), it works. But 
the next time, if I try to load c.Bat, I've got an LinkageError, which means that the 
class is already loaded, BUT i don't need the loaded class anymore.

Thanks for your suggestion, and sorry again to post it here.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843494#3843494

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843494


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to