[jboss-jira] [JBoss JIRA] Created: (JBVFS-154) Provide VirtualFile.getStreamURL()

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Mar 25 11:00:38 EDT 2010


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#installBundle(java.lang.String,%20java.io.InputStream)   

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/distribution/installer/target/auto-install-dest/docs/apidocs/org/jboss/osgi/vfs/VirtualFile.html#getStreamURL()

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/main/java/org/jboss/osgi/vfs30/VFSAdaptor30.java
http://fisheye.jboss.org/browse/JBossOSGi/projects/vfs/trunk/vfs30/src/main/java/org/jboss/osgi/vfs30/VirtualFileAdaptor30.java



-- 
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

        



More information about the jboss-jira mailing list