com.atlassian.jira.transaction
Class TransactionSupportImpl
java.lang.Object
com.atlassian.jira.transaction.TransactionSupportImpl
- All Implemented Interfaces:
- TransactionSupport
public class TransactionSupportImpl
- extends Object
- implements TransactionSupport
- Since:
- v4.4.1
Method Summary |
Transaction |
begin()
This begins a new transaction if one is not already running for this thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionSupportImpl
public TransactionSupportImpl(ApplicationProperties applicationProperties)
begin
public Transaction begin()
throws TransactionRuntimeException
- Description copied from interface:
TransactionSupport
- This begins a new transaction if one is not already running for this thread.
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.
- Specified by:
begin
in interface TransactionSupport
- Returns:
- a
Transaction
context object that you can called commit or rollback on
- Throws:
TransactionRuntimeException
Copyright © 2002-2011 Atlassian. All Rights Reserved.