Pierre De Rop wrote:
> Oups, your are right: in the step 2, I made a mistake, and typed "B" 
> instead of "A":
> here is the fixed step 2:
> 
>  2. If no Thread Context ClassLoader is set (null), then use the class
>      loader which loaded the XmlInputFactory class (that is: the class
>      loader of your bundle A)
> 
> Here, the newInstance method probably uses the class loader 
> of the bundle A, which has visibility over the impl jar file 
> (and the impl jar file contains the 
> META-INF/services/javax.xml.stream.XMLInputFactory).

I guessed something like that, but couldn't yet verify that.

So, if you had not written 'probably' I would be pleased ;)

Thanks again for your reply!

Cheers,
 Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to