2.2.6. Transaction Service Existing Transaction Service implementations 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