org.codehaus.cargo.container.property
Class TransactionSupport

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

public final class TransactionSupport
extends 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(Object obj)
          
 int hashCode()
          
 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 String toString()

Overrides:
toString in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object


Copyright © 2004-2012 Codehaus. All Rights Reserved.