com.xenonsoft.bridgetown.aop.transaction.support
Class TransactionObject

java.lang.Object
  extended bycom.xenonsoft.bridgetown.aop.transaction.support.TransactionObject
Direct Known Subclasses:
AbstractTransactionContext

public class TransactionObject
extends java.lang.Object

An object that holds the state of a recorded global transaction and other information relevant to the transaction service manager. It contains the mutable transaction context.

Version:
$Id: TransactionObject.java,v 1.5 2005/03/20 17:45:17 peter_pilgrim Exp $
Author:
Peter Pilgrim, 08-Nov-2004 20:38:26

Constructor Summary
TransactionObject()
          Default constructor
 
Method Summary
 int decrementUsageCount()
          Decrements the usageCount
 ITransactionConfig getSavedConfiguration()
          Gets the saved transaction configuration
 int getUsageCount()
          Gets the usageCount
 int incrementUsageCount()
          Increments the usageCount
 boolean isSuspended()
          Gets the suspended
 void setSavedConfiguration(ITransactionConfig savedConfiguration)
          Sets the saved transaction configuration
 void setSuspended(boolean suspended)
          Sets the suspended
 void setUsageCount(int usageCount)
          Sets the usageCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionObject

public TransactionObject()
Default constructor

Method Detail

isSuspended

public boolean isSuspended()
Gets the suspended

Returns:
Returns the suspended.

setSuspended

public void setSuspended(boolean suspended)
Sets the suspended

Parameters:
suspended - the new value for suspended

getUsageCount

public int getUsageCount()
Gets the usageCount

Returns:
Returns the usageCount.

setUsageCount

public void setUsageCount(int usageCount)
Sets the usageCount

Parameters:
usageCount - the new value for usageCount

getSavedConfiguration

public ITransactionConfig getSavedConfiguration()
Gets the saved transaction configuration

Returns:
Returns the savedConfiguration.

setSavedConfiguration

public void setSavedConfiguration(ITransactionConfig savedConfiguration)
Sets the saved transaction configuration

Parameters:
savedConfiguration - the new value for savedConfiguration

incrementUsageCount

public int incrementUsageCount()
Increments the usageCount


decrementUsageCount

public int decrementUsageCount()
Decrements the usageCount



Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.