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

org.zodiac.autoconfigure.context.MessageSourceConfigAutoConfiguration Maven / Gradle / Ivy

package org.zodiac.autoconfigure.context;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.core.Ordered;
import org.zodiac.commons.constants.SystemPropertiesConstants;

@SpringBootConfiguration
@AutoConfigureOrder(value = Ordered.HIGHEST_PRECEDENCE)
public class MessageSourceConfigAutoConfiguration {

    public MessageSourceConfigAutoConfiguration() {
        super();
    }

    @Bean
    @ConfigurationProperties(prefix = SystemPropertiesConstants.Spring.SPRING_MESSAGES_PREFIX)
    protected MessageSourceConfigProperties messageSourceConfigProperties() {
        return new MessageSourceConfigProperties();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy