CurrentImple current = OTSImpleManager.current();
boolean valid = false;
try
{
ControlWrapper currentTransaction = current.getControlWrapper();
if (currentTransaction == null)
{
if (jtsLogger.loggerI18N.isWarnEnabled())
{
jtsLogger.loggerI18N.warn("com.arjuna.ats.jts.extensions.atnovalidtx", new Object[]
{ "AtomicTransaction.validTransaction" });
}
return false;
}
valid = _theAction.equals(currentTransaction);
if (!valid)
{
String transactionName = get_transaction_name();
String currentTransactionName = currentTransaction.get_transaction_name();
if (jtsLogger.loggerI18N.isWarnEnabled())
{
jtsLogger.loggerI18N.warn("com.arjuna.ats.jts.extensions.atoutofseq", new Object[]
{ "AtomicTransaction", transactionName });