|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.transaction.TransactionListenerAdapter
public abstract class TransactionListenerAdapter
NO-OP listener.
| Constructor Summary | |
|---|---|
TransactionListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
afterCommit()
Invoked after transaction commit. |
void |
afterRollback()
Invoked after transaction rollback. |
void |
beforeCommit(boolean readOnly)
Called before a transaction is committed. |
void |
beforeCompletion()
Invoked before transaction commit/rollback. |
void |
flush()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionListenerAdapter()
| Method Detail |
|---|
public void flush()
flush in interface TransactionListenerpublic void beforeCommit(boolean readOnly)
All transaction resources are still available.
beforeCommit in interface TransactionListenerreadOnly - true if the transaction is read-onlypublic void beforeCompletion()
TransactionListener.beforeCommit(boolean) even if TransactionListener.beforeCommit(boolean)
failed.
Any exceptions generated here will only be logged and will have no effect on the state of the transaction.
All transaction resources are still available.
beforeCompletion in interface TransactionListenerpublic void afterCommit()
Any exceptions generated here will cause the transaction to rollback.
Although all transaction resources are still available, this method should be used only for cleaning up resources after a commit has occured.
afterCommit in interface TransactionListenerpublic void afterRollback()
Although all transaction resources are still available, this method should be used only for cleaning up resources after a rollback has occured.
afterRollback in interface TransactionListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||