[jboss-dev-forums] [JBoss OSGi Development] - Re: Handle potential bundle:// protocol with VFS
thomas.diesler@jboss.com
do-not-reply at jboss.com
Wed Nov 11 12:11:34 EST 2009
anonymous wrote :
| although this is not standard, osgi devs do use it quite a lot to find resources across bundles
|
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?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265109#4265109
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265109
More information about the jboss-dev-forums
mailing list