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

org.macrocloud.kernel.launch.config.BasePropertyConfiguration Maven / Gradle / Ivy

The newest version!

package org.macrocloud.kernel.launch.config;

import org.macrocloud.kernel.launch.props.LoadPropertySourcePostProcessor;
import org.macrocloud.kernel.launch.props.MacroProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

/**
 * macro property config
 *
 * @author macro
 */
@Configuration(proxyBeanMethods = false)
@Order(Ordered.HIGHEST_PRECEDENCE)
@EnableConfigurationProperties(MacroProperties.class)
public class BasePropertyConfiguration {

	@Bean
	public LoadPropertySourcePostProcessor loadPropertySourcePostProcessor() {
		return new LoadPropertySourcePostProcessor();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy