[jboss-dev-forums] [Design of POJO Server] - Should VirtualFile.toURL() really return "vfsfile:/.."
bill.burke@jboss.com
do-not-reply at jboss.com
Fri Oct 20 18:29:02 EDT 2006
I've developed a URL handler for VFS
vfsfile:/foo/bar/ear.jar/war.war
Works fine.
My thought is that should VirtualFile.toURL() really return a "vfsfile" based url? I want to be able to use the VFS in Hibernate HEM which means that the "java.protocol.handler.pkgs" System property must be set to include the JBoss specific package that contains the VFS handler. I'm really worried that there will be issues with:
* setting this system property reliably
* having the sun classes find the handler class (URL uses Class.forName()).
Thoughts?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979750#3979750
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979750
More information about the jboss-dev-forums
mailing list