Package org.wildfly.transaction.client
Interface AssociationListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A transaction-to-thread association listener, which may be called when the association with a thread is changed.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptionvoidassociationChanged(AbstractTransaction transaction, boolean associated) The association of the transaction to the thread has changed.
-
Method Details
-
associationChanged
The association of the transaction to the thread has changed.- Parameters:
transaction- the transaction that was associated or disassociated (notnull)associated-trueif the transaction is now associated with the thread,falseif the transaction is no longer associated with the thread
-