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
    • Method Detail

      • transactionCreated

        void transactionCreated​(AbstractTransaction transaction,
                                CreationListener.CreatedBy createdBy)
        A transaction has been created.
        Parameters:
        transaction - the transaction that was created (not null)
        createdBy - the creator of the transaction (not null)