BundleFileWrapper does not wraps the invocation to getResourceURL [message #1626991] |
Sat, 21 February 2015 08:43 |
Violeta Georgieva Messages: 278 Registered: October 2010 |
Senior Member |
|
|
Hi,
I would like to provide my own BundleFileWrapperFactoryHook in order to wrap the BundleFile. Unfortunately calls to getResourceURL are always delegated to the BundleFile implementation.
Is it intentional that BundleFileWrapper does not wraps the getResourceURL?
The stack is the following:
BundleFileWrapperChain(BundleFile).getResourceURL(String, Module, int) line: 129
ClasspathManager.findResourceImpl(String, BundleFile, int) line: 420
ClasspathManager.findLocalResources(String) line: 397
EquinoxClassLoader(ModuleClassLoader).findLocalResources(String) line: 320
BundleLoader.findLocalResources(String) line: 797
BundleLoader.findResources(String) line: 658
EquinoxClassLoader(ModuleClassLoader).getResources(String) line: 230
I can see that the wrapped in BundleFileWrapperChain is the one provided by me but when getResourceURL is invoked the implementation provided by BundleFile is returned.
Equinox version is Luna.
Thanks and Regards,
Violeta
[Updated on: Sat, 21 February 2015 08:54] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02453 seconds