Package org.wildfly.transaction.client
Interface CreationListener
- 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 creation listener, which is called when a new transaction is begun or imported.
- Author:
- David M. Lloyd
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe enumeration of possible initiators of a transaction. -
Method Summary
Modifier and TypeMethodDescriptionvoidtransactionCreated(AbstractTransaction transaction, CreationListener.CreatedBy createdBy) A transaction has been created.
-
Method Details
-
transactionCreated
A transaction has been created.- Parameters:
transaction- the transaction that was created (notnull)createdBy- the creator of the transaction (notnull)
-