Package com.arjuna.ats.arjuna.tools.log
Class TransactionTypeManager
- java.lang.Object
-
- com.arjuna.ats.arjuna.tools.log.TransactionTypeManager
-
public class TransactionTypeManager extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTransactionTypeManager.TransactionTypeMapOnly allows the movement of heuristic participants to the prepared list.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTransaction(TransactionTypeManager.TransactionTypeMap map)static TransactionTypeManagergetInstance()com.arjuna.ats.internal.arjuna.tools.log.EditableTransactiongetTransaction(java.lang.String type, Uid u)java.lang.StringgetTransactionType(java.lang.String type)booleanpresent(java.lang.String type)Is this transaction log one we support?voidremoveTransaction(java.lang.String type)
-
-
-
Method Detail
-
getTransaction
public com.arjuna.ats.internal.arjuna.tools.log.EditableTransaction getTransaction(java.lang.String type, Uid u)
-
getTransactionType
public java.lang.String getTransactionType(java.lang.String type)
-
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()
-
-