code: private void initGenerator(ResourceGenerator generator) {
  
  		initializeGeneratorProperties(generator);
  		updateRegistries(generator);
  		ResourceReader proxy = ResourceGeneratorReaderProxyFactory.getResourceReaderProxy(generator, rsHandler, config);
  		rsHandler.addResourceReader(proxy);
  	}
docs: Initialize the generator
  
  @param generator
  the generator to initialize