Module io.ebean.core
Class ExternalTransactionScopeManager
java.lang.Object
io.ebeaninternal.server.transaction.TransactionScopeManager
io.ebeaninternal.server.transaction.DefaultTransactionScopeManager
io.ebeaninternal.server.transaction.ExternalTransactionScopeManager
- All Implemented Interfaces:
SpiTransactionScopeManager
A TransactionScopeManager aware of external transaction managers.
-
Constructor Summary
ConstructorsConstructorDescriptionExternalTransactionScopeManager(ExternalTransactionManager externalManager) Instantiates transaction scope manager. -
Method Summary
Modifier and TypeMethodDescriptionactive()Return the current Transaction potentially looking in external scope (like Spring).voidregister(TransactionManager manager) Register the transaction manager (for use by external transaction scopes).Methods inherited from class io.ebeaninternal.server.transaction.DefaultTransactionScopeManager
clear, clearExternal, inScope, replace, set
-
Constructor Details
-
ExternalTransactionScopeManager
Instantiates transaction scope manager.
-
-
Method Details
-
register
Description copied from class:TransactionScopeManagerRegister the transaction manager (for use by external transaction scopes).- Overrides:
registerin classDefaultTransactionScopeManager
-
active
Description copied from class:TransactionScopeManagerReturn the current Transaction potentially looking in external scope (like Spring).- Overrides:
activein classDefaultTransactionScopeManager
-