package com.qianwen.core.launch.config;
|
|
import com.qianwen.core.launch.props.BladeProperties;
|
import com.qianwen.core.launch.props.BladePropertySourcePostProcessor;
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Configuration;
|
import org.springframework.core.annotation.Order;
|
|
@EnableConfigurationProperties({BladeProperties.class})
|
@Configuration(proxyBeanMethods = false)
|
@Order(Integer.MIN_VALUE)
|
public class BladePropertyConfiguration {
|
@Bean
|
public BladePropertySourcePostProcessor bladePropertySourcePostProcessor() {
|
return new BladePropertySourcePostProcessor();
|
}
|
}
|