@Bean
		@ConditionalOnMissingBean
		public EurekaServerConfig eurekaServerConfig(EurekaClientConfig clientConfig) {
			EurekaServerConfigBean server = new EurekaServerConfigBean();
			if (clientConfig.shouldRegisterWithEureka()) {
				// Set a sensible default if we are supposed to replicate
				server.setRegistrySyncRetries(5);
			}
			return server;
		}
Construct a Jersey {@link jakarta.ws.rs.core.Application} with all the resources
required by the Eureka server.
@param environment an {@link Environment} instance to retrieve classpath resources
@param resourceLoader a {@link ResourceLoader} instance to get classloader from
@return created {@link Application} object
spring-cloud-netflix-eureka-server/src/main/java/org/springframework/cloud/netflix/eureka/server/EurekaServerAutoConfiguration.java