com.ibm.ws.extensionhelper

Interface TransactionControl


Deprecated. in favor of com.ibm.wsspi.uow.UOWManager.runUnderUOW()
  1. public interface TransactionControl
Helper service provides functionality for different aspect of WebSphere Transactions.
Since:
5.0.2

Field Summary

Modifier and Type Field and Description
  1. static
  2. boolean
forceGlobal
Deprecated.
  1. static
  2. boolean
forceLocal
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. 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.
  1. void
postinvoke(TxHandle status)
Deprecated. Tell transaction manager that you have finished your work and to continute/cleanup as necessary.
  1. TxHandle
preinvoke()
Deprecated. Start a transaction, participate in a global transaction if one active or start a new global transaction
  1. 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

Field Detail

forceLocal

  1. static final boolean forceLocal
Deprecated.
See Also:

forceGlobal

  1. static final boolean forceGlobal
Deprecated.
See Also:

Method Detail

preinvoke

  1. TxHandle preinvoke()
  2. throws javax.transaction.NotSupportedException
  3. 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

  1. TxHandle preinvoke(boolean forceLocalTran,
  2. boolean forceGlobalTran)
  3. throws javax.transaction.NotSupportedException
  4. 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

  1. void postinvoke(TxHandle status)
  2. throws javax.transaction.InvalidTransactionException
  3. InconsistentTransactionException
  4. 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

  1. 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