Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-163

Equinox BundleClassLoader implementation that translates "bundle" urls into "jar" urls

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8
    • 3.8
    • bundleutils
    • None

    Description

      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.

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: