com.avaje.ebean.config.ExternalTransactionManager Maven / Gradle / Ivy
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();
}