Package io.ebean.config
Interface ExternalTransactionManager
-
public interface ExternalTransactionManager
Provides awareness of externally managed transactions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetCurrentTransaction()Return the current transaction or null if there is none.voidsetTransactionManager(Object transactionManager)Set the transaction manager.
-
-
-
Method Detail
-
setTransactionManager
void setTransactionManager(Object transactionManager)
Set the transaction manager.This will change when SPI is published but will do for now.
-
getCurrentTransaction
Object getCurrentTransaction()
Return the current transaction or null if there is none.
-
-