public interface TransactionListener
TransactionListener provides callbacks when a transaction
is committed.| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit(org.apache.jackrabbit.webdav.transaction.TransactionResource resource,
String lockToken,
boolean success)
This method is called after the commit has been executed.
|
void |
beforeCommit(org.apache.jackrabbit.webdav.transaction.TransactionResource resource,
String lockToken)
This method is called right before a transaction is committed.
|
void beforeCommit(org.apache.jackrabbit.webdav.transaction.TransactionResource resource,
String lockToken)
resource - the transaction resource which will be committed.lockToken - the lock tokenvoid afterCommit(org.apache.jackrabbit.webdav.transaction.TransactionResource resource,
String lockToken,
boolean success)
resource - the transaction resource which had been committed.lockToken - the lock token.success - if the commit was successful.Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.