code: public void destroyingApplication(JPAApplInfo applInfo)
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "destroyingApplication : " + applInfo.getApplName());
  
          applInfo.closeAllScopeModules();
          applList.remove(applInfo.getApplName()); // d643462
  
          if (isTraceOn && tc.isDebugEnabled())
              Tr.debug(tc, "Current application list : " + getSortedAppNames());
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "destroyingApplication : " + applInfo.getApplName());
      }
docs: Process application "destroying" event.