Package org.firebirdsql.gds.ng.listeners
Class TransactionListenerDispatcher
- java.lang.Object
- 
- org.firebirdsql.gds.ng.listeners.AbstractListenerDispatcher<TransactionListener>
- 
- org.firebirdsql.gds.ng.listeners.TransactionListenerDispatcher
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<TransactionListener>,- TransactionListener
 
 public final class TransactionListenerDispatcher extends AbstractListenerDispatcher<TransactionListener> implements TransactionListener Dispatcher to maintain and notify otherTransactionListener.- Since:
- 3.0
- Author:
- Mark Rotteveel
 
- 
- 
Constructor SummaryConstructors Constructor Description TransactionListenerDispatcher()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidlogError(java.lang.String message, java.lang.Throwable throwable)voidtransactionStateChanged(FbTransaction transaction, TransactionState newState, TransactionState previousState)Signals that the transaction state changed.- 
Methods inherited from class org.firebirdsql.gds.ng.listeners.AbstractListenerDispatcheraddListener, addWeakListener, isShutdown, iterator, notify, removeAllListeners, removeListener, shutdown
 
- 
 
- 
- 
- 
Method Detail- 
transactionStateChangedpublic void transactionStateChanged(FbTransaction transaction, TransactionState newState, TransactionState previousState) Description copied from interface:TransactionListenerSignals that the transaction state changed.- Specified by:
- transactionStateChangedin interface- TransactionListener
- Parameters:
- transaction-- FbTransactionthat changed state
 
 - 
logErrorprotected void logError(java.lang.String message, java.lang.Throwable throwable)- Specified by:
- logErrorin class- AbstractListenerDispatcher<TransactionListener>
 
 
- 
 
-