docs: @Override
      boolean eligibleForLock(EJSDeployedSupport methodContext, ContainerTx tx) // d671368
      {
          // If the bean is enlisted in a global transaction, and was in a
          // method on a concurrent thread at the time this thread attempted
          // to call a method... then the current thread was unaware of the
          // global transaction and started a local transaction. For this
          // scenario, the local tran should be ignored when determining
          // if the bean is eligible to be locked. The local tran will be
          // 'completed' and the global tran resumed after the lock has
          // been acquired... during 'enlist'.
          if (state == TX_METHOD_READY &&
              currentTx != null && currentTx.isTransactionGlobal() &&
              !tx.isTransactionGlobal())
          {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(tc, "eligibleForLock : ignoring local tran : " + tx);
  
              if (super.eligibleForLock(methodContext, currentTx)) // d671368.1 d704504
              {
                  // Attempt to transition thread from local to sticky global tran.
                  // Lock the bean only if successful.                       d671368.1
                  return container.transitionToStickyGlobalTran(beanId, tx, currentTx);
              }
  
              return false; // d671368.1
          }
  
          // Not the sticky global tran scenario... so perform normal checking.
          return super.eligibleForLock(methodContext, tx); // d704504
      }