org.camunda.bpm.engine.impl.cfg.jta
Class JtaTransactionContext
java.lang.Object
org.camunda.bpm.engine.impl.cfg.jta.JtaTransactionContext
- All Implemented Interfaces:
- TransactionContext
public class JtaTransactionContext
- extends Object
- implements TransactionContext
- Author:
- Daniel Meyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transactionManager
protected final TransactionManager transactionManager
JtaTransactionContext
public JtaTransactionContext(TransactionManager transactionManager)
commit
public void commit()
- Description copied from interface:
TransactionContext
- Commit the current transaction.
- Specified by:
commit
in interface TransactionContext
rollback
public void rollback()
- Description copied from interface:
TransactionContext
- Rollback the current transaction.
- Specified by:
rollback
in interface TransactionContext
getTransaction
protected Transaction getTransaction()
addTransactionListener
public void addTransactionListener(TransactionState transactionState,
TransactionListener transactionListener)
- Description copied from interface:
TransactionContext
- Add a
TransactionListener
to the current transaction.
- Specified by:
addTransactionListener
in interface TransactionContext
- Parameters:
transactionState
- the transaction state for which the TransactionListener
should be added.transactionListener
- the TransactionListener
to add.
Copyright © 2014 camunda services GmbH. All rights reserved.