Class TransactionSynchronizationAdapter

  • All Implemented Interfaces:
    io.micronaut.core.order.Ordered, TransactionSynchronization, java.io.Flushable
    Direct Known Subclasses:
    FlushSynchronization

    public abstract class TransactionSynchronizationAdapter
    extends java.lang.Object
    implements TransactionSynchronization, io.micronaut.core.order.Ordered
    Simple TransactionSynchronization adapter containing empty method implementations, for easier overriding of single methods.

    Also implements the Ordered interface to enable the execution order of synchronizations to be controlled declaratively. The default order is Ordered.LOWEST_PRECEDENCE, indicating late execution; return a lower value for earlier execution.

    Since:
    22.01.2004
    Author:
    Juergen Hoeller, graemerocher