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

org.zodiac.autoconfigure.data.PlatformDataAutoConfiguration Maven / Gradle / Ivy

package org.zodiac.autoconfigure.data;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.zodiac.core.data.constants.PlatformDataSystemPropertiesConstants;

@SpringBootConfiguration
public class PlatformDataAutoConfiguration {

    public PlatformDataAutoConfiguration() {
    }

    @Bean
    @ConditionalOnMissingBean
    @ConfigurationProperties(prefix = PlatformDataSystemPropertiesConstants.PLATFORM_DATA_PREFIX)
    protected PlatformDataConfigProperties platformDataConfigProperties() {
        return new PlatformDataConfigProperties();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy