[jboss-dev-forums] [JBoss OSGi Development] - Handle potential bundle:// protocol with VFS
alesj
do-not-reply at jboss.com
Tue Nov 10 18:23:45 EST 2009
WRT https://jira.jboss.org/jira/browse/JBOSGI-201
"alesj" wrote :
| We should be able to handle bundle:// protocol.
| e.g. bundle://<bundle_id>/<resource_path>
|
"thomas" wrote :
| Could you perhaps give a use case for this functionality?
|
"alesj" wrote :
| Instead of sharing resources among bundles with full resource path,
| you can simply reference bundles directly (currently via id), hence hiding the details.
|
"dml" wrote :
| However this is done, it shouldn't use the host name field (recall the problems with vfsmemory URLs). 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.
|
"thomas" wrote :
| Resources could be shared by the bundle root VirtualFile, no?
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264921#4264921
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264921
More information about the jboss-dev-forums
mailing list