[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: VFS3 - missing features and other issues

david.lloyd@jboss.com do-not-reply at jboss.com
Fri Jul 24 10:22:54 EDT 2009


"alesj" wrote : 
  | My initial port of CL to VFS3 shows missing API:
  | * http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/src/main/java/org/jboss/virtual/MemoryFileFactory.java
  | * http://anonsvn.jboss.org/repos/jbossas/projects/vfs/trunk/src/main/java/org/jboss/virtual/AssembledDirectory.java
  | 

AssembledDirectory shouldn't be needed anymore with the new design (there is only one view of the VFS and that's the fully assembled view).

MemoryFileFactory should be replaced with an alternative API...  right now it all needs to be explicit (make a temp dir, mount the temp dir in the real VFS, and use getPhysicalFile() to make modifications).  I think a static method might be a good idea to do this automatically though.

Also the temp file API is bad and needs to be redone.  I'll do so next week.

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

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



More information about the jboss-dev-forums mailing list