code: public void init(ObjectMapper objectMapper) {
  		if (!initialized) {
  			this.initialized = true;
  			this.objectMapper = objectMapper;
  			this.objectMapper.registerModules(getJacksonModules());
  
  			applyRepositoryRegistration(resourceRegistry);
  
  			for (Module module : modules) {
  				if (module instanceof InitializingModule) {
  					((InitializingModule) module).init();
  				}
  			}
  		}
  	}
docs: Initializes the {@link ModuleRegistry} and applies all pending changes.
  After the initialization completed, it is not possible to add any further
  modules.
  
  @param objectMapper
  object mapper
  @param resourceRegistry
  resource registry