[
https://jira.jboss.org/jira/browse/JBVFS-154?page=com.atlassian.jira.plug...
]
David Lloyd commented on JBVFS-154:
-----------------------------------
You've got it backwards. If you haven't installed the bundle yet, it should NOT
be mounted! You should get the raw bundle bytes, and your implementation of installBundle
should do any mounting (or not - it IS within the realm of possibility that mounting is
NOT at all appropriate for OSGi bundles, expecially if we're handing them off to a
third-party deployer!!)
VFS is not a silver bullet. It's designed for a specific purpose, which does not
apply for third-party deployment frameworks. If you want to use VFS so badly, maybe you
should replace the third-party OSGi bundle deployer with your own?
Provide VirtualFile.getStreamURL()
----------------------------------
Key: JBVFS-154
URL:
https://jira.jboss.org/jira/browse/JBVFS-154
Project: JBoss VFS
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Thomas Diesler
Assignee: John Bailey
The OSGi third party integration needs to be able to reliably read the bundle bytes from
an URL
OSGi decouples the location of a bundle (an opaque string) from the actual source of the
bundle bytes
http://www.osgi.org/javadoc/r4v42/org/osgi/framework/BundleContext.html#i...
A remote management agent (i.e. my osgi testsuite) uses an URL to the bundle bytes.
The OSGi VFS abstraction therefore provides
VirtualFile.getStreamURL()
http://jbmuc.dyndns.org:8280/hudson/job/jbossosgi-jdk16/ws/jboss-osgi/dis...
It works such that the VF is automatically mounted and copied to a zip archive, which is
then the source of that stream URL.
Please consider to provide this functionality at VFS level.
http://fisheye.jboss.org/browse/JBossOSGi/projects/vfs/trunk/vfs30/src/ma...
http://fisheye.jboss.org/browse/JBossOSGi/projects/vfs/trunk/vfs30/src/ma...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira