net.wicp.tams.common.spring.property.TamsConfigBootstrapConfiguration Maven / Gradle / Ivy
package net.wicp.tams.common.spring.property;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* @author andy.zhou
*/
@Configuration
public class TamsConfigBootstrapConfiguration {
@Configuration
@EnableConfigurationProperties
protected static class TamsPropertySourceConfiguration {
@Bean
public TamsPropertySource consulPropertySourceTams() {
return new TamsPropertySource();
}
}
}