yangys
2024-04-23 fe1a8b44747f355c5f3d293a0b8034d01d553b45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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();
    }
}