[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: VFS and directory handling
scott.stark@jboss.org
do-not-reply at jboss.com
Thu May 29 17:31:04 EDT 2008
The only way I see is to add yet another custom url/handler that returns the proper ZipInputStream that can navigate whatever structure is.
| if (urlString.startsWith("vfs"))
| {
| // vfsnjar, vfsdir ...
| url = new URL(...)
| }
| pi.setPersistenceUnitRootUrl(url);
|
Isn't the PersistenceUnitRootUrl always pointing to the contents containing the persistence-info.xml so that there really never is any navigation of ZipInputStreams within ZipInputStreams?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154473#4154473
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154473
More information about the jboss-dev-forums
mailing list