Package com.sap.cds.transaction.spi
Interface TransactionManagerFactory<DS>
-
- Type Parameters:
DS
- the data source type
public interface TransactionManagerFactory<DS>
Factory for a transaction manager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Supplier<Connection>
getConnectionSupplier()
Get the data source managed by the singleton instance of the transaction managerContainerTransactionManager
getTransactionManger()
Creates or gets a singleton instance of a transaction manager
-
-
-
Method Detail
-
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
-
-