[jboss-dev-forums] [Design of POJO Server] - VirtualFile.hasBeenModified() useful?

bill.burke@jboss.com do-not-reply at jboss.com
Fri Dec 8 17:47:50 EST 2006


Do you think a hasBeenModified() method would be useful on VirtualFile? 

It would return true if lastModified() does not equal the timestamp of the file when the virtualfilehandler was allocated, OR, the last time hasBeenMOdified() was invoked.  Could be used in DeploymentScanners.

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

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



More information about the jboss-dev-forums mailing list