Package com.arjuna.ats.arjuna.tools.log
Class TransactionTypeManager
- java.lang.Object
-
- com.arjuna.ats.arjuna.tools.log.TransactionTypeManager
-
public class TransactionTypeManager extends 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(String type, Uid u)StringgetTransactionType(String type)booleanpresent(String type)Is this transaction log one we support?voidremoveTransaction(String type)
-
-
-
Method Detail
-
getTransaction
public com.arjuna.ats.internal.arjuna.tools.log.EditableTransaction getTransaction(String type, Uid u)
-
present
public boolean present(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(String type)
-
getInstance
public static TransactionTypeManager getInstance()
-
-