Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 23975 invoked from network); 21 Oct 2008 09:26:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 09:26:07 -0000 Received: (qmail 6138 invoked by uid 500); 21 Oct 2008 09:26:08 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 6107 invoked by uid 500); 21 Oct 2008 09:26:08 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 6096 invoked by uid 99); 21 Oct 2008 09:26:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 02:26:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 09:25:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9CA5C234C21E for ; Tue, 21 Oct 2008 02:25:45 -0700 (PDT) Message-ID: <1906012560.1224581145634.JavaMail.jira@brutus> Date: Tue, 21 Oct 2008 02:25:45 -0700 (PDT) From: "Karl Pauls (JIRA)" To: dev@felix.apache.org Subject: [jira] Assigned: (FELIX-756) Allow URLStreamHandler services to override built-in handlers. In-Reply-To: <1635505812.1223562764168.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FELIX-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Pauls reassigned FELIX-756: -------------------------------- Assignee: Karl Pauls > Allow URLStreamHandler services to override built-in handlers. > --------------------------------------------------------------- > > Key: FELIX-756 > URL: https://issues.apache.org/jira/browse/FELIX-756 > Project: Felix > Issue Type: Improvement > Components: Framework > Affects Versions: felix-1.2.2 > Reporter: Karl Pauls > Assignee: Karl Pauls > > In certain cases it might be desirable to override built-in URLStreamHandlers with services provided by bundles. As of now, the spec doesn't allow this (see 11.3.2 ff) but it might in the future. Furthermore, it looks like other implementations are less strict on this issue as we are. For now, the best one can do is to put handlers in the classpath of the framework and make them available via the java.protocol.handler.pkgs properties. This way, one can override the built-in handlers but needs control over the jvm (which is not the best solution). > It should be possible to add an option to felix that will register handlers that proxy the built-in ones but prefer registered URLStreamHandler services if there is one available for a given schema. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.