code: public synchronized void checkIfCreateNonPersistentTimerAllowed(EJBModuleMetaDataImpl mmd) {
          if (ivStopping) {
              throw new EJBStoppedException(ivName);
          }
  
          if (mmd != null && mmd.ivStopping) {
              throw new EJBStoppedException(mmd.getJ2EEName().toString());
          }
      }
docs: Prevent non-persistent timers from being created after the application or module has
  begun stopping.
  
  @throws EJBStoppedException
  if the application or module is stopping