code: private boolean isLifecycleCallbackGlobalTx(int methodId) {
          EJBMethodInfoImpl[] methodInfos = home.beanMetaData.lifecycleInterceptorMethodInfos;
          return methodInfos != null &&
                 methodInfos[methodId].getTransactionAttribute() == TransactionAttribute.TX_REQUIRES_NEW;
      }
docs: Returns true if the specific lifecycle callback should run with a global
  transaction.
  
  @param methodId a method id from {@link LifecycleInterceptorWrapper}