docs: private boolean isLifecycleCallbackGlobalTx(int methodId) {
          EJBMethodInfoImpl[] methodInfos = home.beanMetaData.lifecycleInterceptorMethodInfos;
          return methodInfos != null &&
                 methodInfos[methodId].getTransactionAttribute() == TransactionAttribute.TX_REQUIRES_NEW;
      }