org.codehaus.cargo.container.property
Class TransactionSupport

java.lang.Object
  extended by org.codehaus.cargo.container.property.TransactionSupport

public final class TransactionSupport
extends java.lang.Object

Represents the transactional support of a resource, such as a XA_TRANSACTION.

Version:
$Id: $

Field Summary
static TransactionSupport LOCAL_TRANSACTION
          Indicates support of container-managed transactions.
static TransactionSupport NO_TRANSACTION
          Indicates lack of transaction support.
static TransactionSupport XA_TRANSACTION
          Indicates support of distributed transactions using XA protocol.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 int hashCode()
          
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_TRANSACTION

public static final TransactionSupport NO_TRANSACTION
Indicates lack of transaction support.


LOCAL_TRANSACTION

public static final TransactionSupport LOCAL_TRANSACTION
Indicates support of container-managed transactions.


XA_TRANSACTION

public static final TransactionSupport XA_TRANSACTION
Indicates support of distributed transactions using XA protocol.

Method Detail

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object


Copyright © 2004-2011 Codehaus. All Rights Reserved.