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.
@FunctionalInterface public interface AssociationListener
A transaction-to-thread association listener, which may be called when the association with a thread is changed.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassociationChanged(AbstractTransaction transaction, boolean associated)The association of the transaction to the thread has changed.
-
-
-
Method Detail
-
associationChanged
void associationChanged(AbstractTransaction transaction, boolean associated)
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
-
-