geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (XBEAN-163) Equinox BundleClassLoader implementation that translates "bundle" urls into "jar" urls
Date Sat, 05 Feb 2011 05:51:31 GMT

    [ https://issues.apache.org/jira/browse/XBEAN-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990918#comment-12990918
] 

Jarek Gawor commented on XBEAN-163:
-----------------------------------

Committed the EquinoxBundleClassLoader implementation to trunk in revision 1067395.


> 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

        

Mime
View raw message