Class TransactionsEssentialsTransactionService
- java.lang.Object
-
- org.exoplatform.services.transaction.impl.AbstractTransactionService
-
- org.exoplatform.services.transaction.impl.atomikos.TransactionsEssentialsTransactionService
-
- All Implemented Interfaces:
TransactionService,org.picocontainer.Startable
@Deprecated public class TransactionsEssentialsTransactionService extends AbstractTransactionService implements org.picocontainer.Startable
Deprecated.JBossTransactionServiceused in all cases insteadAn implementation of aTransactionServicefor TransactionsEssentials from Atomikos to be used in standalone mode- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Field Summary
-
Fields inherited from class org.exoplatform.services.transaction.impl.AbstractTransactionService
defaultTimeout, forceTimeout
-
-
Constructor Summary
Constructors Constructor Description TransactionsEssentialsTransactionService()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected TransactionManagerfindTransactionManager()Deprecated.This method will try to find the currentTransactionManagerprotected UserTransactionfindUserTransaction()Deprecated.This method will try to find the currentUserTransaction, by default it will simply wraps aTransactionManagervoidstart()Deprecated.voidstop()Deprecated.-
Methods inherited from class org.exoplatform.services.transaction.impl.AbstractTransactionService
delistResource, enlistResource, getDefaultTimeout, getTransactionManager, getUserTransaction, isTMInitialized, setTransactionTimeout
-
-
-
-
Method Detail
-
findTransactionManager
protected TransactionManager findTransactionManager() throws Exception
Deprecated.Description copied from class:AbstractTransactionServiceThis method will try to find the currentTransactionManager- Specified by:
findTransactionManagerin classAbstractTransactionService- Returns:
- the current
TransactionManager - Throws:
Exception- if an error occurs while looking for theTransactionManager- See Also:
AbstractTransactionService.findTransactionManager()
-
findUserTransaction
protected UserTransaction findUserTransaction() throws Exception
Deprecated.Description copied from class:AbstractTransactionServiceThis method will try to find the currentUserTransaction, by default it will simply wraps aTransactionManager- Overrides:
findUserTransactionin classAbstractTransactionService- Returns:
- the current
UserTransaction - Throws:
Exception- if an error occurs while looking for theUserTransaction- See Also:
AbstractTransactionService.findUserTransaction()
-
start
public void start()
Deprecated.- Specified by:
startin interfaceorg.picocontainer.Startable- See Also:
Startable.start()
-
stop
public void stop()
Deprecated.- Specified by:
stopin interfaceorg.picocontainer.Startable- See Also:
Startable.stop()
-
-