public class TransactionsEssentialsTransactionService extends AbstractTransactionService implements org.picocontainer.Startable
TransactionService for TransactionsEssentials from Atomikos
to be used in standalone modedefaultTimeout, forceTimeout| Constructor and Description |
|---|
TransactionsEssentialsTransactionService() |
| Modifier and Type | Method and Description |
|---|---|
protected TransactionManager |
findTransactionManager()
This method will try to find the current
TransactionManager |
protected UserTransaction |
findUserTransaction()
This method will try to find the current
UserTransaction, by default it will
simply wraps a TransactionManager |
void |
start() |
void |
stop() |
delistResource, enlistResource, getDefaultTimeout, getTransactionManager, getUserTransaction, isTMInitialized, setTransactionTimeoutpublic TransactionsEssentialsTransactionService()
protected TransactionManager findTransactionManager() throws Exception
AbstractTransactionServiceTransactionManagerfindTransactionManager in class AbstractTransactionServiceTransactionManagerException - if an error occurs while looking for the TransactionManagerAbstractTransactionService.findTransactionManager()protected UserTransaction findUserTransaction() throws Exception
AbstractTransactionServiceUserTransaction, by default it will
simply wraps a TransactionManagerfindUserTransaction in class AbstractTransactionServiceUserTransactionException - if an error occurs while looking for the UserTransactionAbstractTransactionService.findUserTransaction()public void start()
start in interface org.picocontainer.StartableStartable.start()public void stop()
stop in interface org.picocontainer.StartableStartable.stop()Copyright © 2014 eXo Platform SAS. All Rights Reserved.