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.
@FunctionalInterface public interface CreationListener
A transaction creation listener, which is called when a new transaction is begun or imported.- Author:
- David M. Lloyd
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCreationListener.CreatedByThe enumeration of possible initiators of a transaction.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtransactionCreated(AbstractTransaction transaction, CreationListener.CreatedBy createdBy)A transaction has been created.
-
-
-
Method Detail
-
transactionCreated
void transactionCreated(AbstractTransaction transaction, CreationListener.CreatedBy createdBy)
A transaction has been created.- Parameters:
transaction- the transaction that was created (notnull)createdBy- the creator of the transaction (notnull)
-
-