[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Missing VirtualFile::isFile?

alesj do-not-reply at jboss.com
Sun Feb 1 03:08:03 EST 2009


"scott.stark at jboss.org" wrote : The reasoning was that it was too much of a file system notion that did not have a useful meaning in general while isLeaf does.
  | 
Sure.
But I'm saying that only isLeaf is not enough.
See the usage in next paragraph.

"scott.stark at jboss.org" wrote : Why would hotdeployment not check a jar when it would check the corresponding unpacked form of the jar as a directory?
  | 
I'm not saying you wouldn't check it.

There is just no need to go and check the META-INF/*.xml changes,
since the change would already reflect on the root's lastModifiedTime.
But in order to know not to go 'in', is the isFile/isArchive directive.

"scott.stark at jboss.org" wrote : 
  | The thing we did consider was an isArchive notion for a compressed directory.
JarHandler/ZipContextHandler::isArchive==true, everybody else == false?

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

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



More information about the jboss-dev-forums mailing list