com.ibm.commerce.server
Class TransactionHandle

java.lang.Object
  |
  +--com.ibm.commerce.server.TransactionHandle

public class TransactionHandle
extends java.lang.Object

Transaction handle is returned by the TransactionManager when we calls the begin() method.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Constructor Summary
TransactionHandle()
          Constructor for TransactionHandle.
 
Method Summary
 boolean isTransactionOwner()
          Checks if the handle owner is the transaciton owner.
 void setTransactionOwner(boolean owner)
          Sets the transaction owner flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

TransactionHandle

public TransactionHandle()
Constructor for TransactionHandle.
Method Detail

isTransactionOwner

public boolean isTransactionOwner()
Checks if the handle owner is the transaciton owner.
Returns:
true if the handle owner is the transaciton owner; false otherwise

setTransactionOwner

public void setTransactionOwner(boolean owner)
Sets the transaction owner flag.
Parameters:
owner - true if this is the transaction owner; false otherwise