felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bosschaert <david.bosscha...@gmail.com>
Subject [Framework] Using the bundle: URL handler when felix.service.urlhandlers=false
Date Thu, 22 Mar 2018 15:13:45 GMT
Hi all,

If the URL handlers are disabled via the felix.service.urlhandlers=false,
is there a way to manually register Felix's framework handler for the
bundle: URL scheme?

Normally you'd register these with the
java.protocol.handler.pkgs/java.content.handler.pkgs
properties. [1] describes how to do this for the things like file: and
http:... I briefly looked at the code but did not see an obvious way to
register the bundle: protocol in this way... Is this possible?

Many thanks,

David

[1] http://felix.apache.org/documentation/subprojects/
apache-felix-framework/apache-felix-framework-faq.html#why-
do-i-get-an-unknown-protocol-http-exception-when-i-run-
felix-on-a-non-sun-jre

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message