All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.javaclub.configcenter.spring.boot.ConfigCenterAutoConfiguration Maven / Gradle / Ivy

The newest version!
package com.github.javaclub.configcenter.spring.boot;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.github.javaclub.configcenter.spring.config.ConfigPropertySourcesProcessor;
import com.github.javaclub.configcenter.spring.config.PropertySourcesProcessor;

@Configuration
@ConditionalOnMissingBean(PropertySourcesProcessor.class)
public class ConfigCenterAutoConfiguration {

  @Bean
  public ConfigPropertySourcesProcessor configPropertySourcesProcessor() {
    return new ConfigPropertySourcesProcessor();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy