com.xenonsoft.bridgetown.soa.config
Class TransactionConfig

java.lang.Object
  extended bycom.xenonsoft.bridgetown.soa.config.TransactionConfig
All Implemented Interfaces:
ITransactionConfig, java.io.Serializable

public class TransactionConfig
extends java.lang.Object
implements ITransactionConfig, java.io.Serializable

The transaction configuration This is an object that stores a transactional object after parsing the bridgetown XML configuration file.

Version:
$Id: TransactionConfig.java,v 1.6 2005/03/17 02:37:22 peter_pilgrim Exp $
Author:
peterp, 25-Oct-2004
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.xenonsoft.bridgetown.aop.transaction.ITransactionConfig
DEFAULT_TIMEOUT
 
Constructor Summary
TransactionConfig()
          Default constructor
 
Method Summary
 TransactionDemarcationEnum getDemarcation()
          Gets the demarcation
 TransactionIsolationEnum getIsolationLevel()
          Gets the isolationLevel
 int getTransactionTimeout()
          Gets the transactionTimeout
 boolean isReadOnly()
          Gets the readOnly
 void setDemarcation(TransactionDemarcationEnum demarcation)
          Sets the demarcation
 void setDemarcationFromText(java.lang.String text)
          Sets the demarcation from the text value
 void setIsolationLevel(TransactionIsolationEnum isolationLevel)
          Sets the isolationLevel
 void setIsolationLevelFromText(java.lang.String text)
          Sets the demarcation from the text value
 void setReadOnly(boolean readOnly)
          Sets the readOnly
 void setReadOnlyFromText(java.lang.String text)
          Sets the readOnly from the text value
 void setTransactionTimeout(int transactionTimeout)
          Sets the transactionTimeout
 java.lang.String toString()
          Dump debuggable string for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionConfig

public TransactionConfig()
Default constructor

Method Detail

getDemarcation

public TransactionDemarcationEnum getDemarcation()
Gets the demarcation

Specified by:
getDemarcation in interface ITransactionConfig
Returns:
Returns the demarcation.

setDemarcation

public void setDemarcation(TransactionDemarcationEnum demarcation)
Sets the demarcation

Parameters:
demarcation - The demarcation to set.

getIsolationLevel

public TransactionIsolationEnum getIsolationLevel()
Gets the isolationLevel

Specified by:
getIsolationLevel in interface ITransactionConfig
Returns:
Returns the isolationLevel.

setIsolationLevel

public void setIsolationLevel(TransactionIsolationEnum isolationLevel)
Sets the isolationLevel

Parameters:
isolationLevel - The isolationLevel to set.

isReadOnly

public boolean isReadOnly()
Gets the readOnly

Specified by:
isReadOnly in interface ITransactionConfig
Returns:
Returns the readOnly.

setReadOnly

public void setReadOnly(boolean readOnly)
Sets the readOnly

Parameters:
readOnly - The readOnly to set.

getTransactionTimeout

public int getTransactionTimeout()
Gets the transactionTimeout

Specified by:
getTransactionTimeout in interface ITransactionConfig
Returns:
Returns the transactionTimeout.

setTransactionTimeout

public void setTransactionTimeout(int transactionTimeout)
Sets the transactionTimeout

Parameters:
transactionTimeout - The transactionTimeout to set.

setDemarcationFromText

public void setDemarcationFromText(java.lang.String text)
Sets the demarcation from the text value

Parameters:
text - input string text value

setIsolationLevelFromText

public void setIsolationLevelFromText(java.lang.String text)
Sets the demarcation from the text value

Parameters:
text - input string text value

setReadOnlyFromText

public void setReadOnlyFromText(java.lang.String text)
Sets the readOnly from the text value

Parameters:
text - input string text value

toString

public java.lang.String toString()
Dump debuggable string for this object. Implements / overrides toString

Returns:
String
See Also:
Object.toString()


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.