yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
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();
    }
}