org.kuali.student.common.util.jta
Class AtomikosManagedRuntime

java.lang.Object
  extended by org.apache.openjpa.ee.AbstractManagedRuntime
      extended by org.kuali.student.common.util.jta.AtomikosManagedRuntime
All Implemented Interfaces:
org.apache.openjpa.ee.ManagedRuntime

public class AtomikosManagedRuntime
extends org.apache.openjpa.ee.AbstractManagedRuntime
implements org.apache.openjpa.ee.ManagedRuntime


Field Summary
private  Throwable cause
           
private static TransactionManager tm
           
 
Constructor Summary
AtomikosManagedRuntime()
           
 
Method Summary
 Throwable getRollbackCause()
           
static TransactionManager getTm()
           
 TransactionManager getTransactionManager()
           
 void setRollbackOnly(Throwable cause)
           
static void setTm(TransactionManager tm)
           
 
Methods inherited from class org.apache.openjpa.ee.AbstractManagedRuntime
doNonTransactionalWork, getTransactionKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.openjpa.ee.ManagedRuntime
doNonTransactionalWork, getTransactionKey
 

Field Detail

tm

private static TransactionManager tm

cause

private Throwable cause
Constructor Detail

AtomikosManagedRuntime

public AtomikosManagedRuntime()
Method Detail

getRollbackCause

public Throwable getRollbackCause()
                           throws Exception
Specified by:
getRollbackCause in interface org.apache.openjpa.ee.ManagedRuntime
Throws:
Exception

getTransactionManager

public TransactionManager getTransactionManager()
                                         throws Exception
Specified by:
getTransactionManager in interface org.apache.openjpa.ee.ManagedRuntime
Throws:
Exception

setRollbackOnly

public void setRollbackOnly(Throwable cause)
                     throws Exception
Specified by:
setRollbackOnly in interface org.apache.openjpa.ee.ManagedRuntime
Throws:
Exception

getTm

public static TransactionManager getTm()

setTm

public static void setTm(TransactionManager tm)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.