You mean a lock manager? Hmmm, I'd say locking in transaction is much more low level. Let's see what Mario comes up with...
Oliver On Wed, 24 Nov 2004 17:30:36 +0100, Eric Pugh <[EMAIL PROTECTED]> wrote: > Isn't this what [transaction] is supposed to do? > > > > > -----Original Message----- > > From: Mario Ivankovits [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 24, 2004 3:01 PM > > To: Jakarta Commons Users List > > Subject: Re: [vfs] webdav checkin checkout lock unlock > > > > > > [EMAIL PROTECTED] wrote: > > > > >Have you ever considered putting versioning capabilities into > > VFS or not? > > > > > > > > I have to admit - no! > > > > > - lock (?) > > > - unlock (?) > > > > > > > > For lock/unlock I do have a LockManager in mind which should make it > > possible to handle locking not only at filesystem level but also e.g. > > in-process to have locking for ftp et al too. > > > > > - checkin > > > - checkout > > > - uncheckout > > > > > > > > At the deepest level we need these functions in the fileobject. But > > maybe we should not expose them to the user - instead it could be > > handled automatically by some sort of TransactionManager where one could > > call commit()/rollback()? > > > > >Maybe I'm completely wrong. > > > > > Sounds reasonable to me, though I am not a webdav specialist. > > > > Lets wait a night, maybe someone other would like talk to this too. > > > > -- > > Mario > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
