docs: protected void setCommitDanglingWork(BeanMetaData bmd) {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
  
          int unresolvedAction = bmd._localTran.getUnresolvedAction();
          if (unresolvedAction == LocalTransactionSettings.UNRESOLVED_COMMIT) {
              bmd.commitDanglingWork = true;
          }
  
          if (isTraceOn && tc.isDebugEnabled()) {
              Tr.debug(tc, "The commitDanglingWork flag is set to " + bmd.commitDanglingWork);
          }
      }