You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2011/02/06 06:24:30 UTC

[jira] Closed: (XBEAN-163) Equinox BundleClassLoader implementation that translates "bundle" urls into "jar" urls

     [ https://issues.apache.org/jira/browse/XBEAN-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor closed XBEAN-163.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 3.8

> Equinox BundleClassLoader implementation that translates "bundle" urls into "jar" urls
> --------------------------------------------------------------------------------------
>
>                 Key: XBEAN-163
>                 URL: https://issues.apache.org/jira/browse/XBEAN-163
>             Project: XBean
>          Issue Type: New Feature
>          Components: bundleutils
>    Affects Versions: 3.8
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 3.8
>
>
> A number of 3rd party libraries expect that URLs returned by ClassLoader.getResource() or ClassLoader.getResources() are either "jar" or "file" type of URLs. In OSGi ClassLoader.getResource() or ClassLoader.getResources() return a "bundle" URL which is an OSGi framework specific URL. 
> It would be nice to have a Bundle ClassLoader implementation that could automatically return the "jar" or "file" URLs.
> On Equinox it is possible to translate the "bundle" URLs into "jar" URLs using the URLConverter service.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira