2.2.6. Transaction Service

2.2.6.1. Existing Transaction Service implementations
2.2.6.2. JBoss Transaction Service

TransactionServices provides access to the TransactionManager and the UserTransaction (See JTA specification for details).

getTransactionManager()Get the used TransactionManager.
getUserTransaction()Get UserTransaction on TransactionManager.
getDefaultTimeout()Return the default TimeOut.
setTransactionTimeout(int seconds)Set TimeOut in seconds.
enlistResource(XAResource xares)Enlist XA resource in TransactionManager.
delistResource(XAResource xares)Delist XA resource from TransactionManager.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus