Not without overriding the system class loader, to my my knowledge. But Don Schwarz has written an excellent article on how to fairly easy archieve this with your own class loader, His goal was, just as your is, to be able to use different versions of the same third party library: http://www.onjava.com/pub/a/onjava/2005/04/13/dependencies.html?page=2
cheers, Jens -----Original Message----- From: Igor Laberov [mailto:[EMAIL PROTECTED] Sent: den 26 april 2005 13:48 To: [email protected] Subject: ClassLoader question Hi all, Is it possible to load different (group of)components in separate class loaders? This is especially important in cases when 2 components are using different versions of the same third-party library Thank you, Igor Laberov Qlusters, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
