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

org.zodiac.autoconfigure.application.jvm.AppJvmAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.autoconfigure.application.jvm;

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.autoconfigure.application.condition.ConditionalOnApplicationJvmEnabled;

@SpringBootConfiguration
@ConditionalOnApplicationJvmEnabled
public class AppJvmAutoConfiguration {

    public AppJvmAutoConfiguration() {
    }

    @Bean
    @ConditionalOnMissingBean
    @ConfigurationProperties(prefix = org.zodiac.commons.constants.SystemPropertiesConstants.Zodiac.SPRING_APP_PREFIX)
    protected AppJvmProperties appJvmProperties() {
        return AppJvmProperties.ME;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy