Interface TransactionManagerFactory<DS>

Type Parameters:
DS - the data source type

public interface TransactionManagerFactory<DS>
Factory for a transaction manager
  • Method Details

    • getTransactionManger

      ContainerTransactionManager getTransactionManger()
      Creates or gets a singleton instance of a transaction manager
      Returns:
      the singleton instance
    • getConnectionSupplier

      Supplier<Connection> getConnectionSupplier()
      Get the data source managed by the singleton instance of the transaction manager
      Returns:
      the managed data source