code: @Override
      public void started(Container moduleContainer) {
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(this, tc, "application started. moduleContainer: " + moduleContainer.getName());
  
          WebAppConfiguration webAppConfig;
          try {
              webAppConfig = (WebAppConfiguration) moduleContainer.adapt(WebAppConfig.class);
              WebApp webApp = webAppConfig.getWebApp();
              SessionCookieConfig sccfg = webApp.getSessionCookieConfig();
  
              GeneratePluginConfigListener gpcl = GeneratePluginConfigListener.getGeneratePluginConfigListener();
              if (gpcl != null) {
                  gpcl.applicationInitialized(webApp, sccfg);
              }
          } catch (UnableToAdaptException e) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                  Tr.debug(this, tc, "application started. cannot adapt to webapp - ignore");
          }
  
      }
docs: {@inheritDoc}