[jboss-dev-forums] [Design of POJO Server] - Re: Should VirtualFile.toURL() really return

scott.stark@jboss.org do-not-reply at jboss.com
Fri Oct 20 19:02:46 EDT 2006


It can be set the same way as in jboss today so that they can be overriden, and won't interfere with any existing settings:


  |       // Include the default JBoss protocol handler package
  |       String handlerPkgs = System.getProperty("java.protocol.handler.pkgs");
  |       if (handlerPkgs != null)
  |       {
  |          handlerPkgs += "|org.jboss.net.protocol";
  |       }
  |       else
  |       {
  |          handlerPkgs = "org.jboss.net.protocol";
  |       }
  |       System.setProperty("java.protocol.handler.pkgs", handlerPkgs);
  | 

It should be part of the vfs initialization default code.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979758#3979758

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979758



More information about the jboss-dev-forums mailing list