ContainerTransactionsMetaData containerTransactions = getContainerTransactions();
if (containerTransactions == null || containerTransactions.isEmpty())
return result;
ContainerTransactionMetaData bestMatchTransaction = null;
MethodMetaData bestMatch = null;
for (ContainerTransactionMetaData transaction : containerTransactions)
{
MethodMetaData match = transaction.bestMatch(methodName, params, iface, bestMatch);
if (match != bestMatch)
{
bestMatchTransaction = transaction;
bestMatch = match;
}
}
if (bestMatchTransaction != null)
result = bestMatchTransaction.getTransAttribute();
return result;
}