com.atlassian.jira.transaction
Class Txn

java.lang.Object
  extended by com.atlassian.jira.transaction.Txn

public class Txn
extends Object

A static version of TransactionSupport that calls statically to PICO to get the implementation needed.

Since:
v4.4.1

Constructor Summary
Txn()
           
 
Method Summary
static Transaction begin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Txn

public Txn()
Method Detail

begin

public static Transaction begin()
                         throws TransactionRuntimeException
Returns:
a Transaction state object
Throws:
TransactionRuntimeException - if the transaction cannot be started
See Also:
TransactionSupport.begin()


Copyright © 2002-2013 Atlassian. All Rights Reserved.