code: @Override
      public void applicationStopping(ApplicationInfo appInfo) {
  
          ExtendedApplicationInfo extendedAppInfo = (ExtendedApplicationInfo) appInfo;
          String applicationName = extendedAppInfo.getMetaData().getJ2EEName().getApplication();
  
          shutdown(applicationName);
  
      }
docs: {@inheritDoc}