Dear Mark See attached the source code, it is called LateDelagationClassLoader as it does not brake completely the delegation to parent model, it just calls the parent after its processing. We extended the URLClassLoader to call first findClass and findResource on loadClass and getResource methods, respectively, if these fail then we call the URLClassLoader loadClass and getResource to achieve a "late" delegation to parent behavior.
This class is in use in our product <oXygen/> XML Editor, so you can make a test anytime. All the best, George ------------------------------------------------------------- George Cristian Bina mailto:[EMAIL PROTECTED] COO - sync.ro Phone +40-(0)251-461480, +40-(0)251-461481 Fax +40-(0)251-461482 Mobile +40-(0)723-224067 SyncRO Soft srl, Bd N. Titulescu 170, Craiova, 1100 - Romania http://www.sync.ro <oXygen/> XML Editor - http://www.oxygenxml.com/ ----- Original Message ----- From: "Mark Woon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 21, 2002 2:28 AM Subject: Re: Xerces and Applets > George Cristian Bina wrote: > > >Hi! > > > >We had a similar problem... users having xerces installed as extension > >report that the application is not working properly. We solved this writing > >a custom class loader that brakes the delegation to parent class loader > >model, thus enforcing the jars from our distribution to be used by our code. > > > > George, is there any chance you'd be able/willing to post the code for > this class loader? > > Thanks, > -Mark > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
LateDelegationClassLoader.java
Description: JavaScript source
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
