org.exoplatform.services.transaction.impl.atomikos
Class TransactionsEssentialsTransactionService
java.lang.Object
org.exoplatform.services.transaction.impl.AbstractTransactionService
org.exoplatform.services.transaction.impl.atomikos.TransactionsEssentialsTransactionService
- All Implemented Interfaces:
- TransactionService, Startable
public class TransactionsEssentialsTransactionService
- extends AbstractTransactionService
- implements Startable
An implementation of a TransactionService for TransactionsEssentials from Atomikos
to be used in standalone mode
- Version:
- $Id$
- Author:
- Nicolas Filotto
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionsEssentialsTransactionService
public TransactionsEssentialsTransactionService()
findTransactionManager
protected TransactionManager findTransactionManager()
throws Exception
- Description copied from class:
AbstractTransactionService
- This method will try to find the current
TransactionManager
- Specified by:
findTransactionManager in class AbstractTransactionService
- Returns:
- the current
TransactionManager
- Throws:
Exception - if an error occurs while looking for the TransactionManager- See Also:
AbstractTransactionService.findTransactionManager()
findUserTransaction
protected UserTransaction findUserTransaction()
throws Exception
- Description copied from class:
AbstractTransactionService
- This method will try to find the current
UserTransaction, by default it will
simply wraps a TransactionManager
- Overrides:
findUserTransaction in class AbstractTransactionService
- Returns:
- the current
UserTransaction
- Throws:
Exception - if an error occurs while looking for the UserTransaction- See Also:
AbstractTransactionService.findUserTransaction()
start
public void start()
- Specified by:
start in interface Startable
- See Also:
Startable.start()
stop
public void stop()
- Specified by:
stop in interface Startable
- See Also:
Startable.stop()
Copyright © 2013 eXo Platform SAS. All Rights Reserved.