[jboss-dev-forums] [JBoss AS 7 Development] - Re: URL-Protocol Handler doesn't work
David Lloyd
do-not-reply at jboss.com
Tue Apr 10 16:58:55 EDT 2012
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120410/874012c3/attachment.html
More information about the jboss-dev-forums
mailing list