code: public void addApplicationEventListener(EJBApplicationEventListener listener) // F743-26072
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isDebugEnabled())
              Tr.debug(tc, "addApplicationEventListener: " + listener);
  
          if (ivApplicationEventListeners == null)
          {
              ivApplicationEventListeners = new ArrayList<EJBApplicationEventListener>();
          }
          ivApplicationEventListeners.add(listener);
      }
docs: Adds a new application even listener to be notified when an application
  has fully started or will begin stopping.
  
  @param listener the listener