public class TransactionSupportImpl extends Object implements TransactionSupport
| Constructor and Description |
|---|
TransactionSupportImpl(ApplicationProperties applicationProperties,
RequestLocalTransactionRunnableQueueFactory requestLocalTransactionRunnableQueueFactory) |
| Modifier and Type | Method and Description |
|---|---|
Transaction |
begin()
This begins a new transaction if one is not already running for this thread.
|
public TransactionSupportImpl(ApplicationProperties applicationProperties, RequestLocalTransactionRunnableQueueFactory requestLocalTransactionRunnableQueueFactory)
public Transaction begin() throws TransactionRuntimeException
TransactionSupport
It will be a NoOp if a transaction is already running and in this case a call to Transaction.commit() will also be a NoOp. The outer caller is then reponsible
for the ultimate commit or rollback.
It will also be a NoOp if a transaction support in JIRA is turned off.
begin in interface TransactionSupportTransaction context object that you can called commit or rollback onTransactionRuntimeException - if the transaction can not be established at allCopyright © 2002-2017 Atlassian. All Rights Reserved.