コード例 #1
0
 public TopLevelTransaction getTopLevelTransactionBoundToThisThread(boolean strict) {
   TopLevelTransaction transaction = threadToTransactionMap.get();
   if (strict) {
     assertInUnterminatedTransaction(transaction);
   }
   return transaction;
 }
コード例 #2
0
 public void assertInUnterminatedTransaction() {
   checkIfShutdown();
   assertInUnterminatedTransaction(threadToTransactionMap.get());
 }