[jboss-dev-forums] [Design of POJO Server] - Re: Installing VFS* Protocol Handlers

ALRubinger do-not-reply at jboss.com
Mon May 11 03:09:15 EDT 2009


It's this bit, which was in the legacy bootstrap Server impl:

         try
  |          {
  |             // Install a URLStreamHandlerFactory that uses the TCL
  |             URL.setURLStreamHandlerFactory(new URLStreamHandlerFactory());
  | 
  |             // Preload JBoss URL handlers
  |             URLStreamHandlerFactory.preload();
  |          }
  |          catch (Error error)
  |          { // very naughty but we HAVE to do this or
  |            // we'll fail if we ever try to do this again
  |             log.warn("Caught Throwable Error, this probably means " +
  |                "we've already set the URLStreamHAndlerFactory before"); 
  |          }

S,
ALR

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

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



More information about the jboss-dev-forums mailing list