
com.avaje.ebean.config.ExternalTransactionManager Maven / Gradle / Ivy
The newest version!
package com.avaje.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 - 2025 Weber Informatics LLC | Privacy Policy