org.teiid.connector.xa.api
Interface TransactionContext


public interface TransactionContext

Tracks the context of the transaction.


Nested Class Summary
static class TransactionContext.Scope
           
 
Method Summary
 javax.transaction.Transaction getTransaction()
           
 TransactionContext.Scope getTransactionType()
           
 java.lang.String getTxnID()
           
 boolean isInTransaction()
           
 

Method Detail

isInTransaction

boolean isInTransaction()

getTransaction

javax.transaction.Transaction getTransaction()
Returns:
Returns the transaction.

getTxnID

java.lang.String getTxnID()
Returns:
Returns the txnID.

getTransactionType

TransactionContext.Scope getTransactionType()


Copyright © 2009. All Rights Reserved.