Class JtaTransactionContext
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
-
- org.camunda.bpm.engine.impl.cfg.jta.JtaTransactionContext
-
- All Implemented Interfaces:
TransactionContext
public class JtaTransactionContext extends AbstractTransactionContext
JTA-based implementation of theAbstractTransactionContext
- Author:
- Daniel Meyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JtaTransactionContext.JtaTransactionStateSynchronization
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
AbstractTransactionContext.TransactionStateSynchronization
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.transaction.TransactionManager
transactionManager
-
Fields inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
LOG
-
-
Constructor Summary
Constructors Constructor Description JtaTransactionContext(javax.transaction.TransactionManager transactionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addTransactionListener(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext)
protected void
doRollback()
protected javax.transaction.Transaction
getTransaction()
protected boolean
isTransactionActiveInternal()
-
Methods inherited from class org.camunda.bpm.engine.impl.cfg.jta.AbstractTransactionContext
addTransactionListener, commit, isTransactionActive, rollback
-
-
-
-
Method Detail
-
doRollback
protected void doRollback() throws java.lang.Exception
- Specified by:
doRollback
in classAbstractTransactionContext
- Throws:
java.lang.Exception
-
addTransactionListener
protected void addTransactionListener(TransactionState transactionState, TransactionListener transactionListener, CommandContext commandContext) throws java.lang.Exception
- Specified by:
addTransactionListener
in classAbstractTransactionContext
- Throws:
java.lang.Exception
-
getTransaction
protected javax.transaction.Transaction getTransaction()
-
isTransactionActiveInternal
protected boolean isTransactionActiveInternal() throws java.lang.Exception
- Specified by:
isTransactionActiveInternal
in classAbstractTransactionContext
- Throws:
java.lang.Exception
-
-