code: protected void addWebApp(DeployedModule dm) throws WebAppNotLoadedException {
          try {
              String virtualHost = dm.getVirtualHostName();
  
              if ((virtualHost == null) || (virtualHost.equals("")))
                  virtualHost = DEFAULT_HOST;
  
              VirtualHost vHost = getVirtualHost(virtualHost);
  
              if (vHost == null) {
                  logger.logp(Level.INFO, CLASS_NAME, "addWebApp",
                              "host.has.not.been.defined",
                              new String[] { virtualHost });
                  throw new WebAppNotLoadedException("Virtual Host " + virtualHost + " not found");
              }
  
              //need to parse the ibm-web-ext before mapping the context root
              com.ibm.wsspi.adaptable.module.Container mc = dm.getWebApp().getModuleContainer();
              WebExt ext = null;
              if (mc != null) {
                  try {
                      ext = mc.adapt(WebExt.class);
                  } catch (UnableToAdaptException e) {
                      if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) {
                          logger.logp(Level.FINE, CLASS_NAME, "commonInitializationFinally", "Unable to parse the WebExt file", e);
                      }
                      ext = null;
                  }
              }
              if (ext != null) {
                  dm.getWebAppConfig().setInitializeWebExtProps(ext);
              }
              //done parsing the ibm-web-ext file
              vHost.addWebApplication(dm, extensionFactories);
          } catch (WebAppNotLoadedException wahnf) {
              com.ibm.ws.ffdc.FFDCFilter.processException(wahnf, "com.ibm.ws.webcontainer.Webcontainer", "732", this);
              throw wahnf;
          } catch (Throwable th) {
              com.ibm.wsspi.webcontainer.util.FFDCWrapper.processException(th, CLASS_NAME, "736", this);
              throw new WebAppNotLoadedException(th.getMessage(), th);
          }
  
      }
docs: BEGIN: NEVER INVOKED BY WEBSPHERE APPLICATION SERVER (Common Component Specific)