com.avaje.ebean.config
Interface ExternalTransactionManager


public interface ExternalTransactionManager

Provides awareness of externally managed transactions.


Method Summary
 Object getCurrentTransaction()
          Return the current transaction or null if there is none.
 void setTransactionManager(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.



Copyright © 2010. All Rights Reserved.