I had thought about that too. It might be possible, but it would be really
messy. The code that I quoted is in CatalogManager.readProperties(). I had
originally hoped to just subclass CatalogManager and override that method,
but alas, it's a private method, so I can't override it with a subclass.


Even if that were possible, though, I'm not sure what i would even replace
it with. The code is still located in one bundle and the file it needs,
resides in another bundle. Within a bundle, how do you reach out and get
access to resources in another bundle?



gnodet wrote:
> 
> I haven't looked at the xml resolver code, but is there any other way to
> load the catalog list while not using the classloader from xmlresolver
> itself ?
> 

-- 
View this message in context: 
http://www.nabble.com/OSGi-Resource-loading-conundrum-tp22462718p22463944.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to