Package | Description |
---|---|
javax.ejb | |
org.hibernate.engine.transaction.internal.jta | |
org.hibernate.service.jta.platform.internal | |
org.hibernate.service.jta.platform.spi | |
org.jboss.ejb.client |
Modifier and Type | Method and Description |
---|---|
UserTransaction |
EJBContext.getUserTransaction()
Obtain the transaction demarcation interface.
|
Modifier and Type | Method and Description |
---|---|
UserTransaction |
JtaTransaction.getUserTransaction() |
Modifier and Type | Method and Description |
---|---|
static int |
JtaStatusHelper.getStatus(UserTransaction userTransaction)
Extract the status code from a
UserTransaction |
static boolean |
JtaStatusHelper.isActive(UserTransaction userTransaction)
Does the status code obtained from the given
UserTransaction indicate an active transaction? |
static boolean |
JtaStatusHelper.isCommitted(UserTransaction userTransaction)
Does the status code obtained from the given
UserTransaction indicate a commit? |
static boolean |
JtaStatusHelper.isRollback(UserTransaction userTransaction)
Does the status code obtained from the given
UserTransaction indicate a roll back? |
Modifier and Type | Method and Description |
---|---|
UserTransaction |
JtaPlatform.retrieveUserTransaction()
Locate the
UserTransaction |
Modifier and Type | Method and Description |
---|---|
protected UserTransaction |
EJBClientUserTransactionContext.getUserTransaction(String nodeName)
Get a
UserTransaction instance affiliated with a specific remote node to control the transaction
state. |
protected UserTransaction |
EJBClientTransactionContext.getUserTransaction(String nodeName)
Get a
UserTransaction instance affiliated with a specific remote node to control the transaction
state. |
static UserTransaction |
EJBClient.getUserTransaction(String targetNodeName)
Get a
UserTransaction object instance which can be used to control transactions on a specific node. |
Copyright © 2018 JBoss by Red Hat. All rights reserved.