"thomas.diesler(a)jboss.com" wrote :
| Accessing a resources across bundles, you could do
|
|
| | sysContext.getBundle(someId).getResource("/some-resource.txt")
| |
|
| The return could be a VFS URL. I still don't quite understand the benefit of
introducing/using an alternative URL representation.
|
| Do you have a specific use case in mind, that you could present here?
1) You're using code, not URL or plain string. Users != no OSGi api
2) With direct VFS usage, you're by-passing restrictions enforced by bundles
With bundle:// approach, we handle both cases properly.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265112#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...