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

plus.jdk.etcd.global.EtcdAutoConfiguration Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package plus.jdk.etcd.global;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import plus.jdk.etcd.annotation.EnableEtcdPlus;
import plus.jdk.etcd.config.EtcdPlusProperties;

@Slf4j
@Configuration
@EnableEtcdPlus
@ConditionalOnProperty(prefix = "plus.jdk.etcd", name = "enabled", havingValue = "true")
@EnableConfigurationProperties(EtcdPlusProperties.class)
public class EtcdAutoConfiguration {

    public EtcdAutoConfiguration(EtcdPlusProperties etcdPlusProperties) {
        log.info("{}", etcdPlusProperties);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy