org.jboss.tm
Class TransactionDemarcationSupport
java.lang.Object
org.jboss.tm.TransactionDemarcationSupport
public class TransactionDemarcationSupport
- extends Object
A simple helper for transaction demarcation.
- Version:
- $Revision: 57208 $
- Author:
- Adrian Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionDemarcationSupport
public TransactionDemarcationSupport()
suspendAnyTransaction
public static Transaction suspendAnyTransaction()
- Suspend any transaction associated with the thread
- Returns:
- any suspended transaction or null if there was no transaction
resumeAnyTransaction
public static void resumeAnyTransaction(Transaction tx)
- Resume any transaction
- Parameters:
tx
- the transaction to resume
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.