Class TransactionManagerCustomizers

java.lang.Object
org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers

public class TransactionManagerCustomizers extends Object
Since:
1.5.0
Author:
Phillip Webb, Andy Wilkinson
  • Constructor Details

    • TransactionManagerCustomizers

      @Deprecated(since="3.2.0", forRemoval=true) public TransactionManagerCustomizers(Collection<? extends PlatformTransactionManagerCustomizer<?>> customizers)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 3.2.0 for removal in 3.4.0 in favor of of(Collection)
      Creates a new TransactionManagerCustomizers instance containing the given customizers.
      Parameters:
      customizers - the customizers
  • Method Details

    • customize

      @Deprecated(since="3.2.0", forRemoval=true) public void customize(PlatformTransactionManager platformTransactionManager)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 3.2.0 for removal in 3.4.0 in favor of customize(TransactionManager)
      Customize the given platformTransactionManager.
      Parameters:
      platformTransactionManager - the platform transaction manager to customize
    • customize

      public void customize(TransactionManager transactionManager)
      Customize the given transactionManager.
      Parameters:
      transactionManager - the transaction manager to customize
      Since:
      3.2.0
    • of

      public static TransactionManagerCustomizers of(Collection<? extends TransactionManagerCustomizer<?>> customizers)
      Returns a new TransactionManagerCustomizers instance containing the given customizers.
      Parameters:
      customizers - the customizers
      Returns:
      the new instance
      Since:
      3.2.0