code: public <T> void addRepository(JpaRepositoryConfig<T> config) {
          Class<?> resourceClass = config.getResourceClass();
          if (repositoryConfigurationMap.containsKey(resourceClass)) {
              throw new IllegalStateException(resourceClass.getName() + " is already registered");
          }
          repositoryConfigurationMap.put(resourceClass, config);
      }
docs: Adds the resource to this module.
  
  @param config to use