private class JtaTransactionExecutor.JtaTransactionAdapter extends AbstractTransactionExecutor.AbstractTransactionAdapter<Transaction>
TransactionAdapter
interface using
JTA.Constructor and Description |
---|
JtaTransactionAdapter()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Transaction |
createNewTransaction()
This method creates a new technical transaction.
|
protected void |
doCommit()
This method performs the actual
AbstractTransactionExecutor.AbstractTransactionAdapter.commit() on the active
transaction . |
protected void |
doRollback()
This method performs the actual
AbstractTransactionExecutor.AbstractTransactionAdapter.rollback() on the active
transaction . |
commit, getActiveTransaction, getContext, interCommit, isActive, rollback, start, stop
protected Transaction createNewTransaction()
createNewTransaction
in class AbstractTransactionExecutor.AbstractTransactionAdapter<Transaction>
protected void doCommit()
AbstractTransactionExecutor.AbstractTransactionAdapter.commit()
on the active
transaction
.doCommit
in class AbstractTransactionExecutor.AbstractTransactionAdapter<Transaction>
protected void doRollback()
AbstractTransactionExecutor.AbstractTransactionAdapter.rollback()
on the active
transaction
.doRollback
in class AbstractTransactionExecutor.AbstractTransactionAdapter<Transaction>
Copyright © 2001–2016 mmm-Team. All rights reserved.