Package com.arjuna.ats.jta.transaction
Interface Transaction
- All Superinterfaces:
jakarta.transaction.Transaction
- All Known Implementing Classes:
TransactionImple
,TransactionImple
,TransactionImple
,TransactionImple
,TransactionImple
,TransactionImple
public interface Transaction
extends jakarta.transaction.Transaction
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
enlistResource
(XAResource xaRes, Object[] params) get_uid()
long
int
getTxId()
getTxLocalResource
(Object key) int
getXAResourceState
(XAResource xaRes) boolean
isAlive()
void
putTxLocalResource
(Object key, Object value) Methods inherited from interface jakarta.transaction.Transaction
commit, delistResource, enlistResource, getStatus, registerSynchronization, rollback, setRollbackOnly
-
Field Details
-
XACONNECTION
static final int XACONNECTION- See Also:
-
XAMODIFIER
static final int XAMODIFIER- See Also:
-
-
Method Details
-
enlistResource
boolean enlistResource(XAResource xaRes, Object[] params) throws jakarta.transaction.RollbackException, IllegalStateException, jakarta.transaction.SystemException - Throws:
jakarta.transaction.RollbackException
IllegalStateException
jakarta.transaction.SystemException
-
getXAResourceState
-
getTxLocalResource
-
putTxLocalResource
-
isAlive
boolean isAlive() -
getSynchronizations
-
getResources
Map<XAResource,TxInfo> getResources() -
getTimeout
int getTimeout() -
getRemainingTimeoutMills
long getRemainingTimeoutMills() -
get_uid
Uid get_uid() -
getTxId
Xid getTxId()
-