io.ebean.config.ExternalTransactionManager Maven / Gradle / Ivy
package io.ebean.config;
/**
* Provides awareness of externally managed transactions.
*/
public interface ExternalTransactionManager {
/**
* Set the transaction manager.
*
* This will change when SPI is published but will do for now.
*
*/
void setTransactionManager(Object transactionManager);
/**
* Return the current transaction or null if there is none.
*/
Object getCurrentTransaction();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy