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 Summary
Constructors Constructor Description TransactionListenerDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transactionStateChanged(FbTransaction transaction, TransactionState newState, TransactionState previousState)
Signals that the transaction state changed.-
Methods inherited from class org.firebirdsql.gds.ng.listeners.AbstractListenerDispatcher
addListener, addWeakListener, isShutdown, iterator, removeAllListeners, removeListener, shutdown
-
-
-
-
Method Detail
-
transactionStateChanged
public void transactionStateChanged(FbTransaction transaction, TransactionState newState, TransactionState previousState)
Description copied from interface:TransactionListener
Signals that the transaction state changed.- Specified by:
transactionStateChanged
in interfaceTransactionListener
- Parameters:
transaction
-FbTransaction
that changed state
-
-