docs: private String getCommitOptionString() {
          int strategy;
  
          switch (type) {
              case InternalConstants.TYPE_SINGLETON_SESSION:
              case InternalConstants.TYPE_STATELESS_SESSION:
              case InternalConstants.TYPE_MESSAGE_DRIVEN:
                  strategy = Activator.UNCACHED_ACTIVATION_STRATEGY;
                  break;
  
              case InternalConstants.TYPE_STATEFUL_SESSION:
                  if (sessionActivateTran) {
                      strategy = Activator.STATEFUL_ACTIVATE_TRAN_ACTIVATION_STRATEGY;
                  } else if (sessionActivateSession) {
                      strategy = Activator.STATEFUL_ACTIVATE_SESSION_ACTIVATION_STRATEGY;
                  } else {
                      strategy = Activator.STATEFUL_ACTIVATE_ONCE_ACTIVATION_STRATEGY;
                  }
                  break;
  
              case InternalConstants.TYPE_BEAN_MANAGED_ENTITY:
              case InternalConstants.TYPE_CONTAINER_MANAGED_ENTITY:
                  if (optionACommitOption) {
                      strategy = Activator.OPTA_ENTITY_ACTIVATION_STRATEGY;
                  } else if (optionBCommitOption) {
                      strategy = Activator.OPTB_ENTITY_ACTIVATION_STRATEGY;
                  } else if (entitySessionalTranOption) {
                      strategy = Activator.ENTITY_SESSIONAL_TRAN_ACTIVATION_STRATEGY;
                  } else if (ivReadOnlyCommitOption) {
                      strategy = Activator.READONLY_ENTITY_ACTIVATION_STRATEGY;
                  } else {
                      strategy = Activator.OPTC_ENTITY_ACTIVATION_STRATEGY;
                  }
                  break;
  
              default:
                  strategy = -1;
          }
  
          // Ask the Activator for the appropriate activation strategy string.
          return Activator.getActivationStrategyString(strategy);
      }