docs: @Deprecated
      public ContainerTx getCurrentTx(boolean checkMarkedRollback) throws CSITransactionRolledbackException {
          ContainerTx result = null;
          SynchronizationRegistryUOWScope currTxKey = uowCtrl.getCurrentTransactionalUOW(checkMarkedRollback);
  
          //---------------------------------------------------------
          // No transaction available in after_completion callbacks.
          // Okay to return null in this case.
          //---------------------------------------------------------
  
          if (currTxKey != null) {
              result = (ContainerTx) currTxKey.getResource(containerTxResourceKey);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "getCurrentTx() : " + result);
  
          return result;
      }