com.ibm.ws.extensionhelper
Interface TransactionControl
Deprecated. in favor of com.ibm.wsspi.uow.UOWManager.runUnderUOW()
- public interface TransactionControl
Since:
5.0.2
Field Summary
Modifier and Type | Field and Description |
---|---|
|
forceGlobal
Deprecated.
|
|
forceLocal
Deprecated.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
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.
|
|
postinvoke(TxHandle status)
Deprecated. Tell transaction manager that you have finished your work and to continute/cleanup
as necessary.
|
preinvoke()
Deprecated. Start a transaction, participate in a global transaction if one active or start a new global transaction
|
|
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
|
Field Detail
forceLocal
- static final boolean forceLocal
Deprecated.
See Also:
forceGlobal
- static final boolean forceGlobal
Deprecated.
See Also:
Method Detail
preinvoke
- TxHandle preinvoke()
- throws javax.transaction.NotSupportedException
- javax.transaction.SystemException
Deprecated.
Start a transaction, participate in a global transaction if one active or start a new global transaction
Returns:
Transaction Status Object
Throws:
javax.transaction.NotSupportedException
- From Transaction Manager javax.transaction.SystemException
- From Transaction Manager preinvoke
- TxHandle preinvoke(boolean forceLocalTran,
- boolean forceGlobalTran)
- throws javax.transaction.NotSupportedException
- javax.transaction.SystemException
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
Parameters:
forceLocalTran
- Force a Local Transaction forceGlobalTran
- Force a Global Transaction Returns:
Transaction Status Object
Throws:
javax.transaction.NotSupportedException
- From Transaction Manager javax.transaction.SystemException
- From Transaction Manager postinvoke
- void postinvoke(TxHandle status)
- throws javax.transaction.InvalidTransactionException
- InconsistentTransactionException
- javax.transaction.SystemException
Deprecated.
Tell transaction manager that you have finished your work and to continute/cleanup
as necessary.
Resume any suspended transactions.
Parameters:
status
- Transaction to Finish Throws:
javax.transaction.InvalidTransactionException
- From Transaction Manager InconsistentTransactionException
- From Transaction Manager javax.transaction.SystemException
- From Transaction Manager handleException
- 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.
Parameters:
status
- Transaction Status Objecy