public interface TransactionControl
Modifier and Type | Field and Description |
---|---|
static boolean |
forceGlobal
Deprecated.
|
static boolean |
forceLocal
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
handleException(TxHandle status)
Deprecated.
Tell transaction manager that your work did not finish in proper way, decision will be
made by Transaction Manager on how to proceded.
|
void |
postinvoke(TxHandle status)
Deprecated.
Tell transaction manager that you have finished your work and to continute/cleanup
as necessary.
|
TxHandle |
preinvoke()
Deprecated.
Start a transaction, participate in a global transaction if one active or start a new global transaction
|
TxHandle |
preinvoke(boolean forceLocalTran,
boolean forceGlobalTran)
Deprecated.
Start a transaction, behaviour will be decided by depnding on the input:
false, false: Participate in a global transaction if one is active or start a new global transaction
false, true: Start a new global transaction, suspend any existing transaction
true, false: Start a new local transaction, suspend any existing transaction
true, true: Invalid
|
static final boolean forceLocal
static final boolean forceGlobal
TxHandle preinvoke() throws javax.transaction.NotSupportedException, javax.transaction.SystemException
javax.transaction.NotSupportedException
- From Transaction Managerjavax.transaction.SystemException
- From Transaction ManagerTxHandle preinvoke(boolean forceLocalTran, boolean forceGlobalTran) throws javax.transaction.NotSupportedException, javax.transaction.SystemException
forceLocalTran
- Force a Local TransactionforceGlobalTran
- Force a Global Transactionjavax.transaction.NotSupportedException
- From Transaction Managerjavax.transaction.SystemException
- From Transaction Managervoid postinvoke(TxHandle status) throws javax.transaction.InvalidTransactionException, InconsistentTransactionException, javax.transaction.SystemException
status
- Transaction to Finishjavax.transaction.InvalidTransactionException
- From Transaction ManagerInconsistentTransactionException
- From Transaction Managerjavax.transaction.SystemException
- From Transaction Managervoid handleException(TxHandle status)
status
- Transaction Status Objecy