[jboss-dev-forums] [JBoss OSGi Development] - Re: Handle potential bundle:// protocol with VFS

alesj do-not-reply at jboss.com
Wed Nov 11 12:02:23 EST 2009


"dml" wrote : 
  | However this is done, it shouldn't use the host name field (recall the problems with vfsmemory URLs). 
  | 
What was the vfsmemory problem again?
Or what do you suggest - apart from the below idea?

"dml" wrote : 
  | Personally I think the best solution would be to have a global VFS location where bundles can be found by ID, e.g. file:///osgi/bundles/by-id/[id]/[path] in VFS3 or the equivalent in VFS2.
  | 
I don't think we should abuse file protocol too much.

"thomas" wrote : 
  | Resources could be shared by the bundle root VirtualFile, no? 
  | 
Sure, but like I said, that's too specific detail.
For some internal - cross-bundle - communication we should use bundles (actually its ids),
and leave the impl details to framework.

e.g. although this is not standard, osgi devs do use it quite a lot to find resources across bundles


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265105#4265105

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265105



More information about the jboss-dev-forums mailing list