|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openjpa.event.AbstractTransactionListener
public abstract class AbstractTransactionListener
Abstract implementation of the TransactionListener
interface
that provides no-op implementations of all methods.
Constructor Summary | |
---|---|
AbstractTransactionListener()
|
Method Summary | |
---|---|
void |
afterBegin(TransactionEvent event)
Notification that a transaction has begun. |
void |
afterCommit(TransactionEvent event)
Notification that a transaction has successfully committed. |
void |
afterCommitComplete(TransactionEvent event)
Notification that a transaction has successfully committed and the transaction is no longer active. |
void |
afterFlush(TransactionEvent event)
Notification that a transaction has flushed all object changes. |
void |
afterRollback(TransactionEvent event)
Notification that a transaction has been rolled back. |
void |
afterRollbackComplete(TransactionEvent event)
Notification that a transaction has been rolled back and the transaction is no longer active. |
void |
afterStateTransitions(TransactionEvent event)
Notification that state transitions are complete. |
void |
beforeCommit(TransactionEvent event)
Notification that the next flush is for the transaction commit. |
void |
beforeFlush(TransactionEvent event)
Notification that a transaction is about to flush all object changes. |
protected void |
eventOccurred(TransactionEvent event)
Catch-all for unhandled events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTransactionListener()
Method Detail |
---|
protected void eventOccurred(TransactionEvent event)
public void afterBegin(TransactionEvent event)
BeginTransactionListener
afterBegin
in interface BeginTransactionListener
TransactionEvent.AFTER_BEGIN
public void beforeFlush(TransactionEvent event)
FlushTransactionListener
beforeFlush
in interface FlushTransactionListener
TransactionEvent.BEFORE_FLUSH
public void afterFlush(TransactionEvent event)
FlushTransactionListener
afterFlush
in interface FlushTransactionListener
TransactionEvent.AFTER_FLUSH
public void beforeCommit(TransactionEvent event)
EndTransactionListener
beforeCommit
in interface EndTransactionListener
TransactionEvent.BEFORE_COMMIT
public void afterCommit(TransactionEvent event)
EndTransactionListener
afterCommit
in interface EndTransactionListener
TransactionEvent.AFTER_COMMIT
public void afterRollback(TransactionEvent event)
EndTransactionListener
afterRollback
in interface EndTransactionListener
TransactionEvent.AFTER_ROLLBACK
public void afterStateTransitions(TransactionEvent event)
EndTransactionListener
afterStateTransitions
in interface EndTransactionListener
TransactionEvent.AFTER_STATE_TRANSITIONS
public void afterCommitComplete(TransactionEvent event)
EndTransactionListener
afterCommitComplete
in interface EndTransactionListener
TransactionEvent.AFTER_COMMIT_COMPLETE
public void afterRollbackComplete(TransactionEvent event)
EndTransactionListener
afterRollbackComplete
in interface EndTransactionListener
TransactionEvent.AFTER_ROLLBACK_COMPLETE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation is deprecated and will be removed in the next release of WebLogic Server.