code: synchronized void addMappings(HttpContext context)
      {
          if (context==_notFoundContext)
              return;
          
          String[] hosts=context.getVirtualHosts();
          if (hosts==null || hosts.length==0)
              hosts = __noVirtualHost;
  
          // For each host name
          for (int h=0;h<hosts.length;h++)
          {
              String virtualHost=hosts[h];
              addMapping(virtualHost,context);
          }
      }
docs: /* ------------------------------------------------------------