code: @Override
      public void afterPropertiesSet() throws Exception {
          logger.debug("Loading BEL namespaces");
          NamespaceHeaderParser parser = new NamespaceHeaderParser();
          this.headers = new HashMap<String, NamespaceHeader>(resourceIndex
                  .getNamespaceResources().size());
  
          for (ResourceLocation rl : resourceIndex.getNamespaceResources()) {
              String loc = rl.getResourceLocation();
              ResolvedResource nsResource = cacheableResourceService
                      .resolveResource(ResourceType.NAMESPACES, loc);
              NamespaceHeader header = parser.parseNamespace(loc,
                      nsResource.getCacheResourceCopy());
              headers.put(loc, header);
          }
          logger.debug("Finished loading BEL namespaces");
      }
docs: {@inheritDoc}