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/05 06:51:31 UTC

[jira] Commented: (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: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