IBM WebSphere Application ServerTM
Release 8

com.ibm.ws.extensionhelper
Interface TransactionControl


Deprecated. in favor of com.ibm.wsspi.uow.UOWManager.runUnderUOW()

public interface TransactionControl

Helper service provides functionality for different aspect of WebSphere Transactions.

Since:
5.0.2

Field Summary
static boolean forceGlobal
          Deprecated.  
static boolean forceLocal
          Deprecated.  
 
Method Summary
 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
 

Field Detail

forceLocal

static final boolean forceLocal
Deprecated. 
See Also:
Constant Field Values

forceGlobal

static final boolean forceGlobal
Deprecated. 
See Also:
Constant Field Values
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:

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

IBM WebSphere Application ServerTM
Release 8