David Lloyd [
https://community.jboss.org/people/dmlloyd] created the discussion
"Re: URL-Protocol Handler doesn't work"
To view the discussion, visit:
https://community.jboss.org/message/729213#729213
--------------------------------------------------------------
Okay I re-read the code and it is not exactly as I remembered it. Here are the rules:
* All modules listed in the jboss.protocol.handler.modules system property are loaded, one
by one, to search for java.net.URLStreamHandlerFactory service implementations. Note that
the module list is delimited by vertical bar characters ("|"); this was
motivated by consistency with the java.protocol.handler.pkgs system property.
* The first such implementation that returns a URLStreamHandler for the given protocol
name is used (and cached by the JVM).
* Otherwise null is returned and the search is retried next time.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/729213#729213]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]