Details

    • Type: Feature Request Feature Request
    • Status: Resolved Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBossOSGi 1.0.0 Beta10
    • Component/s: framework
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      Through the URLStreamHandlerService bundles can provide their own URL stream and content handlers

      http://www.osgi.org/javadoc/r4v41/org/osgi/service/url/URLStreamHandlerService.html

      Use this instead of setting the sysprop

      java.protocol.handler.pkgs=org.jboss.net.protocol|org.jboss.virtual.protocol

      Felix-1.6.0 defaults to

      private static final String DEFAULT_STREAM_HANDLER_PACKAGE = "sun.net.www.protocol|com.ibm.oti.net.www.protocol|gnu.java.net.protocol|wonka.net|com.acunia.wonka.net|org.apache.harmony.luni.internal.net.www.protocol|weblogic.utils|weblogic.net|javax.net.ssl|COM.newmonics.www.protocols";

        Issue Links

          Activity

          Hide
          David Bosschaert
          added a comment -

          This needs to hook in with the org.jboss.modules.ModularURLStreamHandlerFactory.
          I also noticed that there exist a org.jboss.osgi.framework.util.VFSStreamHandlerFactory - is that still used?

          Show
          David Bosschaert
          added a comment - This needs to hook in with the org.jboss.modules.ModularURLStreamHandlerFactory. I also noticed that there exist a org.jboss.osgi.framework.util.VFSStreamHandlerFactory - is that still used?
          Hide
          Thomas Diesler
          added a comment -

          AFAICS, this requires fixes in jboss-vfs, jboss-modules (see dependent issues)
          Yes, the core framework references VFSStreamHandlerFactory in META-INF/services

          Show
          Thomas Diesler
          added a comment - AFAICS, this requires fixes in jboss-vfs, jboss-modules (see dependent issues) Yes, the core framework references VFSStreamHandlerFactory in META-INF/services
          Hide
          Thomas Diesler
          added a comment -

          Done

          Show
          Thomas Diesler
          added a comment - Done

            People

            • Assignee:
              Thomas Diesler
              Reporter:
              Thomas Diesler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: