org.springframework.boot.autoconfigure.transaction

Interface PlatformTransactionManagerCustomizer<T extends PlatformTransactionManager>

  • Type Parameters:
    T - the transaction manager type
    All Known Implementing Classes:
    TransactionProperties
    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 PlatformTransactionManagerCustomizer<T extends PlatformTransactionManager>
    Callback interface that can be implemented by beans wishing to customize PlatformTransactionManagers whilst retaining default auto-configuration.
    Since:
    1.5.0
    Author:
    Phillip Webb
    • Method Detail

      • customize

        void customize(T transactionManager)
        Customize the given transaction manager.
        Parameters:
        transactionManager - the transaction manager to customize