> If someone has a trick, please let me know. Hi,
We are using the attached class loader to make sure the Xerces version that is shipped with our product is loaded. (See the messages below and the attachment). 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: "George Cristian Bina" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 23, 2002 11:45 AM Subject: Re: Xerces and Applets > 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]
