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


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

        

Reply via email to