com.arjuna.ats.arjuna.tools.log
Class TransactionTypeManager

java.lang.Object
  extended by com.arjuna.ats.arjuna.tools.log.TransactionTypeManager

public class TransactionTypeManager
extends java.lang.Object


Nested Class Summary
static interface TransactionTypeManager.TransactionTypeMap
          Only allows the movement of heuristic participants to the prepared list.
 
Method Summary
 void addTransaction(TransactionTypeManager.TransactionTypeMap map)
           
static TransactionTypeManager getInstance()
           
 com.arjuna.ats.internal.arjuna.tools.log.EditableTransaction getTransaction(java.lang.String type, Uid u)
           
 boolean present(java.lang.String type)
          Is this transaction log one we support?
 void removeTransaction(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTransaction

public com.arjuna.ats.internal.arjuna.tools.log.EditableTransaction getTransaction(java.lang.String type,
                                                                                   Uid u)

present

public boolean present(java.lang.String type)
Is this transaction log one we support?

Parameters:
type - the name of the log.
Returns:
true if supported, false otherwise.

addTransaction

public void addTransaction(TransactionTypeManager.TransactionTypeMap map)

removeTransaction

public void removeTransaction(java.lang.String type)

getInstance

public static TransactionTypeManager getInstance()