code: @Override
     protected void handleThisPostStartup()
     {
        services = SimpleContainer.getServices(getClass().getClassLoader(), ArchetypeCatalogFactory.class);
        Configuration archetypeConfiguration = getArchetypeConfiguration();
        Iterator<?> keys = archetypeConfiguration.getKeys();
        while (keys.hasNext())
        {
           String name = keys.next().toString();
           if (!name.isEmpty())
           {
              String url = archetypeConfiguration.getString(name);
              try
              {
                 addArchetypeCatalogFactory(name, new URL(url));
              }
              catch (MalformedURLException e)
              {
                 log.log(Level.SEVERE, "Malformed URL for " + name, e);
              }
           }
        }
     }
docs: Registers the {@link ArchetypeCatalogFactory} objects from the user {@link Configuration}