2.2.6. Transaction Service

2.2.6.1. Existing Transaction Service implementations
2.2.6.2. JBoss Transaction Service

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

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